Make Common/ mostly IWYU clean (and fix errors in rest of the project detected by this change).

This commit is contained in:
Pierre Bourdon
2014-02-20 04:11:52 +01:00
parent 65bbfdb812
commit 83b7bb64aa
56 changed files with 152 additions and 64 deletions

View File

@ -2,20 +2,23 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
#include <cstddef>
#include <cstdlib>
#include <set>
#include <string>
#include "Common/Common.h"
#include "Common/MemArena.h"
#include "Common/MemoryUtil.h"
#include "Common/StringUtil.h"
#ifdef _WIN32
#include <windows.h>
#else
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <cerrno>
#include <cstring>
#include <fcntl.h>
#include <unistd.h>
#include <sys/mman.h>
#ifdef ANDROID
#include <sys/ioctl.h>
#include <linux/ashmem.h>