summaryrefslogtreecommitdiff
path: root/source4/include/includes.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-26 15:59:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:58 -0500
commitf801ad359290c51d3216c755fb2a8344babb484f (patch)
tree7762b44cb1a13ac969e25d63ec0d9e4c118635b4 /source4/include/includes.h
parente337caeed1459f876449611ae1684616d0ea8f55 (diff)
downloadsamba-f801ad359290c51d3216c755fb2a8344babb484f.tar.gz
samba-f801ad359290c51d3216c755fb2a8344babb484f.tar.bz2
samba-f801ad359290c51d3216c755fb2a8344babb484f.zip
r10510: Decrease the amount of data included by includes.h a bit
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
Diffstat (limited to 'source4/include/includes.h')
-rw-r--r--source4/include/includes.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 3636dec58d..882c8e6277 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -64,18 +64,6 @@
#include <varargs.h>
#endif
-#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
-#endif
-
-#ifdef HAVE_WS2TCPIP_H
-#include <ws2tcpip.h>
-#endif
-
-#ifdef HAVE_WINDOWS_H
-#include <windows.h>
-#endif
-
/* we support ADS if we want it and have krb5 and ldap libs */
#if defined(WITH_ADS) && defined(HAVE_KRB5) && defined(HAVE_LDAP)
#define HAVE_ADS
@@ -131,9 +119,6 @@ struct ipv4_addr {
#include "ntvfs/ntvfs.h"
#include "cli_context.h"
#include "lib/com/com.h"
-#include "credentials.h"
-
-
#define malloc_p(type) (type *)malloc(sizeof(type))
#define malloc_array_p(type, count) (type *)realloc_array(NULL, sizeof(type), count)
@@ -189,10 +174,6 @@ extern int DEBUGLEVEL;
#endif
#define discard_const_p(type, ptr) ((type *)discard_const(ptr))
-#ifndef HAVE_SSIZE_T
-#define ssize_t int
-#endif
-
#ifndef UINT16_MAX
#define UINT16_MAX 65535
#endif
@@ -203,4 +184,3 @@ extern int DEBUGLEVEL;
#define smb_xmalloc_p(type) (type *)smb_xmalloc(sizeof(type))
#endif /* _INCLUDES_H */
-