OSSP CVS Repository

ossp - Difference in ossp-pkg/as/as-gui/as_rand.cpp versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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
 
 

CVSTrac 2.0.1