forked from enlightenment/efl
use haeders check to include unistd.h
SVN revision: 59401
This commit is contained in:
parent
d809170ea9
commit
6842343e3f
|
@ -341,7 +341,7 @@ AC_CHECK_HEADER([jpeglib.h],
|
||||||
[dummy="yes"],
|
[dummy="yes"],
|
||||||
[AC_MSG_ERROR("Cannot find jpeglib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")])
|
[AC_MSG_ERROR("Cannot find jpeglib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")])
|
||||||
|
|
||||||
AC_CHECK_HEADERS(netinet/in.h)
|
AC_CHECK_HEADERS(netinet/in.h unistd.h)
|
||||||
EFL_CHECK_PATH_MAX
|
EFL_CHECK_PATH_MAX
|
||||||
|
|
||||||
### Checks for types
|
### Checks for types
|
||||||
|
|
|
@ -25,9 +25,9 @@ void * alloca (size_t);
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif /* ifndef _MSC_VER */
|
#endif /* ifdef HAVE_UNISTD_H */
|
||||||
|
|
||||||
#ifdef HAVE_NETINET_IN_H
|
#ifdef HAVE_NETINET_IN_H
|
||||||
# include <netinet/in.h>
|
# include <netinet/in.h>
|
||||||
|
|
|
@ -34,9 +34,9 @@ void * alloca (size_t);
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifdef HAVE_UNISTD_H
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#endif /* ifndef _MSC_VER */
|
#endif /* ifdef HAVE_UNISTD_H */
|
||||||
|
|
||||||
#ifdef HAVE_NETINET_IN_H
|
#ifdef HAVE_NETINET_IN_H
|
||||||
# include <netinet/in.h>
|
# include <netinet/in.h>
|
||||||
|
|
Loading…
Reference in New Issue