You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/04/18 12:32:02 UTC
cvs commit: apache-2.0/src/lib/apr/misc/unix rand.c
trawick 00/04/18 03:32:01
Modified: src/lib/apr/misc/unix rand.c
Log:
Include unistd.h to get read() prototype on FreeBSD.
Revision Changes Path
1.2 +3 -0 apache-2.0/src/lib/apr/misc/unix/rand.c
Index: rand.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/misc/unix/rand.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rand.c 2000/04/15 19:05:13 1.1
+++ rand.c 2000/04/18 10:32:01 1.2
@@ -56,6 +56,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#if APR_HAS_RANDOM