diff options
Diffstat (limited to 'findexec.c')
| -rw-r--r-- | findexec.c | 8 | 
1 files changed, 6 insertions, 2 deletions
| @@ -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> | 
