summaryrefslogtreecommitdiff
path: root/bsd-user/main.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/main.c
parent87c9b5e047f3799ec9dba6e31ec0522adf06951c (diff)
downloadqemu-2231197c87337a9778e0b2000b1ecb7d33c774b3.tar.gz
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/main.c')
-rw-r--r--bsd-user/main.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c
index fefcfc1ccf..287ec1d369 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -16,14 +16,8 @@
* 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 <stdarg.h>
-#include <string.h>
-#include <errno.h>
-#include <unistd.h>
+#include "qemu/osdep.h"
#include <machine/trap.h>
-#include <sys/types.h>
#include <sys/mman.h>
#include "qemu.h"