summaryrefslogtreecommitdiffstats
path: root/source/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/includes.h')
-rw-r--r--source/include/includes.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h
index 982eee18862..a6db058708d 100644
--- a/source/include/includes.h
+++ b/source/include/includes.h
@@ -476,6 +476,14 @@
#include <sys/xattr.h>
#endif
+#ifdef HAVE_SYS_EXTATTR_H
+#include <sys/extattr.h>
+#endif
+
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h>
+#endif
+
#if HAVE_LOCALE_H
#include <locale.h>
#endif
@@ -856,7 +864,9 @@ extern int errno;
#include "client.h"
+#ifdef WITH_SMBWRAPPER
#include "smbw.h"
+#endif
#include "session.h"
@@ -1372,4 +1382,7 @@ LDAP *ldap_open_with_timeout(const char *server, int port, unsigned int to);
#undef HAVE_MMAP
#endif
+#define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr)))
+#define CONST_ADD(type, ptr) ((type) ((const void *) (ptr)))
+
#endif /* _INCLUDES_H */