diff options
Diffstat (limited to 'dln.c')
-rw-r--r-- | dln.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -60,8 +60,6 @@ void *xrealloc(); #ifdef HAVE_SYS_PARAM_H # include <sys/param.h> -#else -# define MAXPATHLEN 1024 #endif #ifdef HAVE_UNISTD_H @@ -354,6 +352,10 @@ sym_hash(hdrp, syms) return tbl; } +#ifndef MAXPATHLEN +# define MAXPATHLEN 1024 +#endif + static int dln_init(prog) const char *prog; |