summaryrefslogtreecommitdiff
path: root/linux-user/mmap.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:02 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:22 +0000
commitd39594e9d96b4f0be27bdbc02a5b1816b72fe1d2 (patch)
treede73b43a7eab2d30757f4f60c440fc7b97b3253d /linux-user/mmap.c
parent5af98cc5731061fc0321cd2c4c23c7e39cca0d9d (diff)
downloadqemu-d39594e9d96b4f0be27bdbc02a5b1816b72fe1d2.tar.gz
qemu-d39594e9d96b4f0be27bdbc02a5b1816b72fe1d2.tar.bz2
qemu-d39594e9d96b4f0be27bdbc02a5b1816b72fe1d2.zip
linux-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: 1453832250-766-10-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'linux-user/mmap.c')
-rw-r--r--linux-user/mmap.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/linux-user/mmap.c b/linux-user/mmap.c
index 445e8c6785..3519147bce 100644
--- a/linux-user/mmap.c
+++ b/linux-user/mmap.c
@@ -16,14 +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 <sys/types.h>
-#include <sys/stat.h>
+#include "qemu/osdep.h"
#include <sys/mman.h>
#include <linux/mman.h>
#include <linux/unistd.h>