mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-19 05:59:05 +03:00
Add check for ioctl header file.
This commit is contained in:
1 parent
07abf8643b
commit
b159565774
2 files changed
+4
-1
No files matched your search
+1
-1
@@ -324,7 +324,7 @@ fi
|
||||
# Checks for header files.
|
||||
AC_CHECK_HEADERS([assert.h arpa/inet.h limits.h netdb.h netinet/in.h \
|
||||
stdlib.h string.h strings.h sys/socket.h sys/time.h \
|
||||
time.h unistd.h sys/unistd.h syslog.h])
|
||||
time.h unistd.h sys/unistd.h syslog.h sys/ioctl.h])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_TYPE_SIZE_T
|
||||
|
||||
@@ -19,6 +19,9 @@
|
||||
# include <sys/socket.h>
|
||||
# define OPTVAL_T(t) (t)
|
||||
#endif
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
# include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user