ossp-pkg/as/as-gui/as_rand.cpp 1.1 -> 1.2
--- as_rand.cpp 2003/01/22 18:57:57 1.1
+++ as_rand.cpp 2003/01/23 17:48:44 1.2
@@ -34,15 +34,22 @@
#include "as_rand.h"
-#ifdef HAVE_UNISTD_H
+#if HAVE_UNISTD_H
#include <unistd.h>
#endif // HAVE_UNISTD_H
-#ifdef HAVE_STDLIB_H
+#if HAVE_STDLIB_H
#include <stdlib.h>
#endif // HAVE_STDLIB_H
-#ifdef TIME_WITH_SYS_TIME
+#if TIME_WITH_SYS_TIME
#include <sys/time.h>
+#include <time.h>
+#else
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
+#else
+#include <time.h>
+#endif // HAVE_SYS_TIME_H
#endif // TIME_WITH_SYS_TIME
|
|