Configure check for sys/time.h

libnfs-4.0.0-vitalif
Ronnie Sahlberg 2013-05-28 18:08:02 -07:00
parent bff8fe460d
commit 2384420387
2 changed files with 7 additions and 0 deletions

View File

@ -101,6 +101,10 @@ AC_CHECK_HEADERS([utime.h])
dnl Check for net/if.h
AC_CHECK_HEADERS([net/if.h])
# check for sys/time.h
dnl Check for sys/time.h
AC_CHECK_HEADERS([sys/time.h])
# check for sys/ioctl.h
dnl Check for sys/ioctl.h
AC_CHECK_HEADERS([sys/ioctl.h])

View File

@ -37,7 +37,10 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_NET_IF_H
#include <net/if.h>