aboutsummaryrefslogtreecommitdiff
path: root/bsd-user/syscall.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:53 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-04 17:01:04 +0000
commit2231197c87337a9778e0b2000b1ecb7d33c774b3 (patch)
treef589638202c02cb3b9988f56e7b33e167d618e83 /bsd-user/syscall.c
parent87c9b5e047f3799ec9dba6e31ec0522adf06951c (diff)
bsd-user: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1454089805-5470-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'bsd-user/syscall.c')
-rw-r--r--bsd-user/syscall.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/bsd-user/syscall.c b/bsd-user/syscall.c
index a4d1583fed..35f784cb6c 100644
--- a/bsd-user/syscall.c
+++ b/bsd-user/syscall.c
@@ -16,17 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <stdint.h>
-#include <stdarg.h>
-#include <string.h>
-#include <errno.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <time.h>
-#include <limits.h>
-#include <sys/types.h>
+#include "qemu/osdep.h"
#include <sys/mman.h>
#include <sys/syscall.h>
#include <sys/param.h>