summaryrefslogtreecommitdiffstats
path: root/findexec.c
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:25 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:25 -0800
commit3278b75942bdbe706f7a0fba87729bb1e935b68b (patch)
treedcad4048dfc0b38367047426b2b14501bf5ff257 /findexec.c
parentdb04688faa20f3576257c0fe41752ec435beab9a (diff)
downloadscm-3278b75942bdbe706f7a0fba87729bb1e935b68b.tar.gz
scm-3278b75942bdbe706f7a0fba87729bb1e935b68b.zip
Import Upstream version 5d2upstream/5d2
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