summaryrefslogtreecommitdiff
path: root/lib/sh/netconn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sh/netconn.c')
-rw-r--r--lib/sh/netconn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sh/netconn.c b/lib/sh/netconn.c
index f412cb02..d05aef55 100644
--- a/lib/sh/netconn.c
+++ b/lib/sh/netconn.c
@@ -22,7 +22,7 @@
#include <config.h>
#include <bashtypes.h>
-#ifndef _MINIX
+#if ! defined(_MINIX) && defined (HAVE_SYS_FILE_H)
# include <sys/file.h>
#endif
#include <posixstat.h>