summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-12 02:51:19 +0100
committerGünther Deschner <gd@samba.org>2011-02-14 11:47:19 +0100
commit80b4e1e9856ed180015e32af2d8762a9acd83910 (patch)
tree885a5d2ee8ec88f2dea82fe5739966b6adf7b7f6 /source3/include/includes.h
parentf10cba1a0133199f1e7a6db0d70c50834e41b4bd (diff)
downloadsamba-80b4e1e9856ed180015e32af2d8762a9acd83910.tar.gz
samba-80b4e1e9856ed180015e32af2d8762a9acd83910.tar.bz2
samba-80b4e1e9856ed180015e32af2d8762a9acd83910.zip
s3: move some defines to a better place.
Guenther
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 87061eba34..8c4fcfea1c 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -179,6 +179,10 @@ typedef int ber_int_t;
#if !defined(LDAPS_PORT)
#define LDAPS_PORT 636
#endif
+
+/* function declarations not included in proto.h */
+LDAP *ldap_open_with_timeout(const char *server, int port, unsigned int to);
+
#else
#undef HAVE_LDAP
#endif
@@ -556,16 +560,6 @@ enum timestamp_set_resolution {
TIMESTAMP_SET_NT_OR_BETTER
};
-#ifdef HAVE_BROKEN_GETGROUPS
-#define GID_T int
-#else
-#define GID_T gid_t
-#endif
-
-#ifndef NGROUPS_MAX
-#define NGROUPS_MAX 32 /* Guess... */
-#endif
-
/* Our own fstrings */
/*
@@ -844,13 +838,6 @@ char *talloc_asprintf_strupper_m(TALLOC_CTX *t, const char *fmt, ...) PRINTF_ATT
#define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */
#endif
-#ifdef HAVE_LDAP
-
-/* function declarations not included in proto.h */
-LDAP *ldap_open_with_timeout(const char *server, int port, unsigned int to);
-
-#endif /* HAVE_LDAP */
-
#if defined(HAVE_LINUX_READAHEAD) && ! defined(HAVE_READAHEAD_DECL)
ssize_t readahead(int fd, off64_t offset, size_t count);
#endif