summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/smbwrapper/wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient/smbwrapper/wrapper.h')
-rw-r--r--examples/libsmbclient/smbwrapper/wrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/libsmbclient/smbwrapper/wrapper.h b/examples/libsmbclient/smbwrapper/wrapper.h
index 6d0d9f527a..5a18b9d76c 100644
--- a/examples/libsmbclient/smbwrapper/wrapper.h
+++ b/examples/libsmbclient/smbwrapper/wrapper.h
@@ -32,6 +32,10 @@
#include <signal.h>
#include <stdio.h>
+#ifndef __FD_SETSIZE
+# define __FD_SETSIZE 256
+#endif
+
extern int smbw_fd_map[__FD_SETSIZE];
extern int smbw_ref_count[__FD_SETSIZE];
extern char smbw_cwd[PATH_MAX];