diff options
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index 982eee18862..cf6f493dd6a 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 @@ -1372,4 +1380,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 */ |