summaryrefslogtreecommitdiff
path: root/source4/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/includes.h')
-rw-r--r--source4/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 3fe3b78c90..5a86aa7218 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -192,6 +192,10 @@ extern int DEBUGLEVEL;
#define ssize_t int
#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX 65535
+#endif
+
/*
type safe varient of smb_xmalloc()
*/