summaryrefslogtreecommitdiff
path: root/dln_find.c
diff options
context:
space:
mode:
Diffstat (limited to 'dln_find.c')
-rw-r--r--dln_find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dln_find.c b/dln_find.c
index 305a7f2b7c..2873152587 100644
--- a/dln_find.c
+++ b/dln_find.c
@@ -57,7 +57,7 @@ void *xrealloc();
#include <sys/stat.h>
#ifndef S_ISDIR
-# define S_ISDIR(m) ((m & S_IFMT) == S_IFDIR)
+# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
#ifdef HAVE_SYS_PARAM_H