--- prngd.c.orig	Tue May  8 14:38:10 2001
+++ prngd.c	Thu Aug 23 09:57:00 2001
@@ -17,6 +17,13 @@
 
 #include "prngd.h"
 
+#ifndef O_SYNC 
+#define O_SYNC 0
+#endif
+#ifndef O_RSYNC 
+#define O_RSYNC 0
+#endif
+
 static int randsavefd = -1;
 int debug = 0;
 int fg = 0;
