summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
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 ();