frontends/ovdb_server.c
Kenichi Okada
okada at opaopa.org
Sat Jan 20 03:01:29 UTC 2001
gcc -O6 -I../include -I/usr/local/BerkeleyDB.3.1/include -c ovdb_server.c
ovdb_server.c: In function `serverproc':
ovdb_server.c:531: storage size of `tv' isn't known
ovdb_server.c:607: warning: passing arg 2 of `accept' from incompatible pointer type
ovdb_server.c: In function `main':
ovdb_server.c:712: storage size of `tv' isn't known
ovdb_server.c:823: warning: passing arg 2 of `accept' from incompatible pointer type
make[1]: *** [ovdb_server.o] Error 1
make[1]: Leaving directory `/usr/home/kokada/compile/inn-CURRENT-20010119/frontends'
--- frontends/ovdb_server.c-orig Sat Jan 20 11:57:18 2001
+++ frontends/ovdb_server.c Sat Jan 20 11:57:55 2001
@@ -42,6 +42,17 @@
&& (((unsigned)(status)) & 0xFF00) == 0)
#endif
+#ifdef TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+# else
+# include <time.h>
+# endif
+#endif
+
#include "libinn.h"
#include "macros.h"
#include "paths.h"
--
Kenichi Okada
mailto:okada at opaopa.org
More information about the inn-patches
mailing list