--- htdig-3.2.0b4-011302/db/os_rw.c.xopen Tue Oct 10 05:15:29 2000
+++ htdig-3.2.0b4-011302/db/os_rw.c Fri Jan 25 14:30:45 2002
@@ -5,6 +5,14 @@
* Sleepycat Software. All rights reserved.
*/
+
+#define _XOPEN_SOURCE 500
+#include <sys/types.h>
+#include <unistd.h>
+#ifndef u_long
+typedef __u_long u_long;
+#endif
+
#include "db_config.h"
#ifndef lint