forked from enlightenment/efl
use configure-time headers checks instead of compiler ones
SVN revision: 55970
This commit is contained in:
parent
f792b1eec5
commit
fe85acc06d
|
@ -3,9 +3,11 @@
|
|||
|
||||
#ifdef BUILD_ASYNC_EVENTS
|
||||
|
||||
#ifndef _MSC_VER
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
@ -14,8 +14,12 @@
|
|||
/* get the casefold feature! */
|
||||
#include <fnmatch.h>
|
||||
#include <dirent.h>
|
||||
#ifndef _MSC_VER
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SYS_PARAM_H
|
||||
# include <sys/param.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -241,8 +241,12 @@ void *alloca (size_t);
|
|||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
#include <ctype.h>
|
||||
#ifndef _MSC_VER
|
||||
# include <stdint.h>
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue