summaryrefslogtreecommitdiff
path: root/bsd-user/mmap.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/mmap.c
parent87c9b5e047f3799ec9dba6e31ec0522adf06951c (diff)
downloadqemu-2231197c87337a9778e0b2000b1ecb7d33c774b3.tar.gz
qemu-2231197c87337a9778e0b2000b1ecb7d33c774b3.tar.bz2
qemu-2231197c87337a9778e0b2000b1ecb7d33c774b3.zip
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/mmap.c')
-rw-r--r--bsd-user/mmap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/bsd-user/mmap.c b/bsd-user/mmap.c
index 092bf7f892..6ab5334702 100644
--- a/bsd-user/mmap.c
+++ b/bsd-user/mmap.c
@@ -16,12 +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 <stdarg.h>
-#include <string.h>
-#include <unistd.h>
-#include <errno.h>
+#include "qemu/osdep.h"
#include <sys/mman.h>
#include "qemu.h"