all: 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.

Backports commit d38ea87ac54af64ef611de434d07c12dc0399216 from qemu
This commit is contained in:
Peter Maydell 2018-02-19 01:34:25 -05:00 committed by Lioncash
parent 728aabd4c3
commit c9bf91049c
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
8 changed files with 8 additions and 2 deletions

View file

@ -25,6 +25,7 @@
/* Modified for Unicorn Engine by Nguyen Anh Quynh, 2015 */
#include "qemu/osdep.h"
#include "sysemu/accel.h"
#include "hw/boards.h"
#include "qemu-common.h"

View file

@ -82,12 +82,11 @@ this code that are retained.
/* softfloat (and in particular the code in softfloat-specialize.h) is
* target-dependent and needs the TARGET_* macros.
*/
#include "config.h"
#include "qemu/osdep.h"
#include "fpu/softfloat.h"
/* We only need stdlib for abort() */
#include <stdlib.h>
/*----------------------------------------------------------------------------
| Primitive arithmetic functions, including multi-word arithmetic, and

View file

@ -27,6 +27,7 @@
/* Modified for Unicorn Engine by Nguyen Anh Quynh, 2015 */
#include "qemu/osdep.h"
#include "exec/ioport.h"
#include "exec/memory.h"
#include "exec/address-spaces.h"

View file

@ -13,6 +13,7 @@
/* Modified for Unicorn Engine by Nguyen Anh Quynh, 2015 */
#include "qemu/osdep.h"
#include "glib_compat.h"
#include "qemu-common.h"

View file

@ -17,6 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/log.h"

View file

@ -24,6 +24,7 @@
/* Modified for Unicorn Engine by Nguyen Anh Quynh, 2015 */
#include "qemu/osdep.h"
#include "sysemu/sysemu.h"
#include "hw/hw.h"

View file

@ -21,6 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
#include "unicorn/platform.h"
#include "qemu/host-utils.h"

View file

@ -18,6 +18,7 @@
*/
/* Modified for Unicorn Engine by Nguyen Anh Quynh, 2015 */
#include "qemu/osdep.h"
#ifdef _WIN32
#include <winsock2.h>
#include <windows.h>