summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
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