summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-04-12 20:52:45 +0000
committerRoland McGrath <roland@redhat.com>1993-04-12 20:52:45 +0000
commit48f4ce2825740274ade4f073f90aa371255feefa (patch)
treefc3e5251cfd24026b9d7e2194a00d6ca8ba4faad /remake.c
parentd8b7640a817760d0f0cd5f595d7422119a2dfcf4 (diff)
downloadgunmake-48f4ce2825740274ade4f073f90aa371255feefa.tar.gz
Formerly remake.c.~49~
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/remake.c b/remake.c
index 043701f..26a253a 100644
--- a/remake.c
+++ b/remake.c
@@ -22,12 +22,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "dep.h"
#include "file.h"
-#if !defined (USG) && !defined (POSIX) && !defined (eta10)
-#ifndef sgi
-#include <sys/file.h>
-#endif
-#else
+#ifdef HAVE_FCNTL_H
#include <fcntl.h>
+#else
+#include <sys/file.h>
#endif
extern int try_implicit_rule ();