From df87c6ab15b5b8c5c29afb1353a8c1c414f3cd24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Fri, 28 May 1999 21:48:40 +0200
Subject: [PATCH] Now includes <errno.h>.

Rev: src/fd_control.c:1.25
---
 src/fd_control.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/fd_control.c b/src/fd_control.c
index d0c92021e6..ae8663ee4b 100644
--- a/src/fd_control.c
+++ b/src/fd_control.c
@@ -3,15 +3,17 @@
 ||| Pike is distributed as GPL (General Public License)
 ||| See the files COPYING and DISCLAIMER for more information.
 \*/
+/**/
 
 #ifndef TESTING
 #include "global.h"
 #include "error.h"
 #include "fdlib.h"
 
-RCSID("$Id: fd_control.c,v 1.24 1999/05/28 16:43:01 mirar Exp $");
+RCSID("$Id: fd_control.c,v 1.25 1999/05/28 19:48:40 grubba Exp $");
 
 #else /* TESTING */
+
 #ifndef _LARGEFILE_SOURCE
 #  define _FILE_OFFSET_BITS 64
 #  define _LARGEFILE_SOURCE 1
@@ -24,7 +26,8 @@ RCSID("$Id: fd_control.c,v 1.24 1999/05/28 16:43:01 mirar Exp $");
 #include <sys/types.h>
 #undef PIKE_DEBUG
 #define fd_ioctl ioctl
-#endif
+
+#endif /* TESTING */
 
 #include "fd_control.h"
 
@@ -36,6 +39,8 @@ RCSID("$Id: fd_control.c,v 1.24 1999/05/28 16:43:01 mirar Exp $");
 #include <sys/socket.h>
 #endif
 
+#include <errno.h>
+
 #ifdef HAVE_SYS_ERRNO_H
 #include <sys/errno.h>
 #endif
-- 
GitLab