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
|
#ifdef BUILD_ASYNC_EVENTS
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,12 @@
|
||||||
/* get the casefold feature! */
|
/* get the casefold feature! */
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#ifndef _MSC_VER
|
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_SYS_PARAM_H
|
||||||
# include <sys/param.h>
|
# include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -241,8 +241,12 @@ void *alloca (size_t);
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <ctype.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>
|
# include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue