]> arthur.barton.de Git - netatalk.git/commitdiff
Don't include time.h as it can be less portable. Instead, include sys/time.h.
authorjmarcus <jmarcus>
Mon, 3 Dec 2001 15:50:06 +0000 (15:50 +0000)
committerjmarcus <jmarcus>
Mon, 3 Dec 2001 15:50:06 +0000 (15:50 +0000)
configure.in
libatalk/cnid/cnid_add.c

index 78c25e9e687e0c35615db1878ba9e792c990b00c..72a47295cbebbd707fd5f938615320876f5cf3ee 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.137 2001-12-03 15:46:29 jmarcus Exp $
+dnl $Id: configure.in,v 1.138 2001-12-03 15:50:06 jmarcus Exp $
 dnl configure.in for netatalk
 
 AC_INIT(bin/adv1tov2/adv1tov2.c)
@@ -77,7 +77,7 @@ dnl Checks for header files.
 AC_HEADER_DIRENT
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS(fcntl.h limits.h stdint.h strings.h sys/fcntl.h sys/file.h sys/ioctl.h sys/time.h sys/mnttab.h sys/statvfs.h sys/stat.h sys/vfs.h mntent.h syslog.h unistd.h termios.h sys/termios.h netdb.h sgtty.h ufs/quota.h mount.h sys/mount.h statfs.h sys/types.h dlfcn.h errno.h sys/errno.h time.h cma.h)
+AC_CHECK_HEADERS(fcntl.h limits.h stdint.h strings.h sys/fcntl.h sys/file.h sys/ioctl.h sys/time.h sys/mnttab.h sys/statvfs.h sys/stat.h sys/vfs.h mntent.h syslog.h unistd.h termios.h sys/termios.h netdb.h sgtty.h ufs/quota.h mount.h sys/mount.h statfs.h sys/types.h dlfcn.h errno.h sys/errno.h)
 AC_CHECK_HEADER(sys/cdefs.h,,
        AC_MSG_RESULT([enabling generic cdefs.h from tree])
        CFLAGS="-I\$(top_srcdir)/sys/generic $CFLAGS"
index c0ff281117a1f76e36990afc26b67697fd6b21cc..856ebd738698d77081d886c10b5849d964f510d1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cnid_add.c,v 1.16 2001-12-03 15:46:30 jmarcus Exp $
+ * $Id: cnid_add.c,v 1.17 2001-12-03 15:50:06 jmarcus Exp $
  *
  * Copyright (c) 1999. Adrian Sun (asun@zoology.washington.edu)
  * All Rights Reserved. See COPYRIGHT.
 #endif /* HAVE_FCNTL_H */
 #include <errno.h>
 #include <syslog.h>
-#ifdef HAVE_TIME_H
-#include <time.h>
-#endif /* HAVE_TIME_H */
-#ifdef HAVE_CMA_H
-#include <cma.h>
-#endif /* HAVE_CMA_H */
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif /* HAVE_SYS_TIME_H */
 
 #include <db.h>
 #include <netatalk/endian.h>