aboutsummaryrefslogtreecommitdiffstats
path: root/findexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'findexec.c')
-rw-r--r--findexec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/findexec.c b/findexec.c
index 18285c7..b6d648b 100644
--- a/findexec.c
+++ b/findexec.c
@@ -62,11 +62,12 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer <jaffer@jacal.bertronics>
#ifdef __amigados__
# include <stdlib.h>
# include <sys/stat.h>
+# include <unistd.h>
#endif
#ifndef __STDC__
# define const /**/
#endif
-#ifdef freebsd
+#ifdef __FreeBSD__
/* This might be same for 44bsd derived system. */
# include <sys/types.h>
# include <sys/stat.h>
@@ -77,7 +78,7 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer <jaffer@jacal.bertronics>
# include <sys/types.h>
# include <sys/stat.h>
#endif
-#ifdef __GO32__
+#ifdef GO32
# include <sys/stat.h>
#endif