mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-04 22:11:07 +01:00
Change order of includes in discovery module
This helps avoid a conflict between windows.h and unistd.h
This commit is contained in:
parent
5a47af57ae
commit
f6913d6684
@ -28,6 +28,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef __MINGW32__
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
@ -36,10 +39,6 @@
|
||||
#include "tools.h"
|
||||
#include "discovery.h"
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
static int can_read_file(const char *filename)
|
||||
|
Loading…
Reference in New Issue
Block a user