changeset 42135:dfc99f4ae55e

Conditionally include fcntl.h.
author Dave Love <fx@gnu.org>
date Tue, 18 Dec 2001 16:02:14 +0000
parents de525d9743c9
children 5b63c25571a8
files lib-src/test-distrib.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/test-distrib.c	Tue Dec 18 16:01:11 2001 +0000
+++ b/lib-src/test-distrib.c	Tue Dec 18 16:02:14 2001 +0000
@@ -25,6 +25,10 @@
 
 #include <stdio.h>
 
+#ifdef HAVE_FCNTL
+#include <fcntl.h>
+#endif
+
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif