diff options
Diffstat (limited to 'tests/tst-dlopen.c')
-rw-r--r-- | tests/tst-dlopen.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/tst-dlopen.c b/tests/tst-dlopen.c index 70927163..cba3e9a8 100644 --- a/tests/tst-dlopen.c +++ b/tests/tst-dlopen.c @@ -7,15 +7,17 @@ (at your option) any later version. */ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif +#include <config.h> #include <dlfcn.h> #include <stdio.h> #include <limits.h> #include <sys/stat.h> +#ifndef PATH_MAX +# define PATH_MAX 4096 +#endif + /* Simple program to see if dlopen() would succeed. */ int main(int argc, char **argv) { |