ossp-pkg/uuid/uuid_mac.c 1.3 -> 1.4
--- uuid_mac.c 2004/01/10 19:17:39 1.3
+++ uuid_mac.c 2004/01/11 08:27:18 1.4
@@ -34,14 +34,18 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <sys/param.h>
-#include <time.h>
-#include <sys/time.h>
#include <fcntl.h>
#include <time.h>
+
+#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
+#endif
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
-
+#endif
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
|
|