summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/smbwrapper/smbw.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient/smbwrapper/smbw.h')
-rw-r--r--examples/libsmbclient/smbwrapper/smbw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/libsmbclient/smbwrapper/smbw.h b/examples/libsmbclient/smbwrapper/smbw.h
index 717b5c2f1c..161d57ebbb 100644
--- a/examples/libsmbclient/smbwrapper/smbw.h
+++ b/examples/libsmbclient/smbwrapper/smbw.h
@@ -34,6 +34,10 @@
#include "libsmbclient.h"
#include "wrapper.h"
+#ifndef __restrict
+# define __restrict
+#endif
+
#undef DEBUG
#define DEBUG(level, s) do { if (level <= debug_level) printf s; } while (0)