summaryrefslogtreecommitdiff
path: root/backend/dll.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/dll.c')
-rw-r--r--backend/dll.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/dll.c b/backend/dll.c
index 73ffde4..d78d409 100644
--- a/backend/dll.c
+++ b/backend/dll.c
@@ -142,6 +142,10 @@ posix_dlsym (void *handle, const char *func)
# define PATH_MAX 1024
#endif
+#ifndef NAME_MAX
+# define NAME_MAX FILENAME_MAX
+#endif
+
#if defined(_WIN32) || defined(HAVE_OS2_H)
# define DIR_SEP ";"
#else