summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-13 19:38:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:19 -0500
commitefe67458c17ffa52b48f979505caf11c2ac52c4e (patch)
tree996874beb2ccc26e2434f4e19f7d5916b8bbc6c1 /source4/lib/replace
parentd8c4862d8cb4ab0c87e35f0aa6a91731f55d718b (diff)
downloadsamba-efe67458c17ffa52b48f979505caf11c2ac52c4e.tar.gz
samba-efe67458c17ffa52b48f979505caf11c2ac52c4e.tar.bz2
samba-efe67458c17ffa52b48f979505caf11c2ac52c4e.zip
r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/README4
-rw-r--r--source4/lib/replace/replace.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/replace/README b/source4/lib/replace/README
index 45c8bccf13..1e804d50e1 100644
--- a/source4/lib/replace/README
+++ b/source4/lib/replace/README
@@ -56,6 +56,10 @@ uint_t
uint{8,16,32,64}_t
int{8,16,32,64}_t
+Constants:
+PATH_NAME_MAX
+UINT16_MAX
+
Prerequisites:
memset (for bzero)
syslog (for vsyslog)
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index e3eef56eeb..fda494a444 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -166,4 +166,8 @@ int rep_mkstemp(char *temp);
#define HOST_NAME_MAX 64
#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX 65535
+#endif
+
#endif