summaryrefslogtreecommitdiffstats
path: root/findexec.c
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:27 -0800
commitc7d035ae1a729232579a0fe41ed5affa131d3623 (patch)
treefb387f7c2a8e01cf603d4c75fbbaa68f711df986 /findexec.c
parentdeda2c0fd8689349fea2a900199a76ff7ecb319e (diff)
downloadscm-c7d035ae1a729232579a0fe41ed5affa131d3623.tar.gz
scm-c7d035ae1a729232579a0fe41ed5affa131d3623.zip
Import Upstream version 5d9upstream/5d9
Diffstat (limited to 'findexec.c')
-rw-r--r--findexec.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/findexec.c b/findexec.c
index 4992775..9769ef5 100644
--- a/findexec.c
+++ b/findexec.c
@@ -16,13 +16,13 @@ Fri Sep 14 22:16:14 1990 Edgar Roeder (edgar at megamaster)
dld_find_executable so that users may specify a special path
for object modules.
-Thu Feb 3 01:46:16 1994 Aubrey Jaffer (jaffer@jacal)
+Thu Feb 3 01:46:16 1994 Aubrey Jaffer
* find_exec.c (dld_find_executable): added stat check for
linux so that it doesn't think directories with the same name
as the program are executable.
-Wed Feb 21 23:06:35 1996 Aubrey Jaffer <jaffer@jacal.bertronics>
+Wed Feb 21 23:06:35 1996 Aubrey Jaffer
* find_exec.c: extracted for general use. Generalized to
MS-DOS. */
@@ -83,6 +83,10 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer <jaffer@jacal.bertronics>
# include <sys/types.h>
# include <sys/stat.h>
# endif
+# ifdef __NetBSD__
+# include <stdlib.h>
+# include <unistd.h>
+# endif
# ifdef __OpenBSD__
/* This might be same for 44bsd derived system. */
# include <stdlib.h>