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 85a023338a..d87820d788 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -197,6 +197,10 @@ extern int DEBUGLEVEL;
#endif
#define discard_const_p(type, ptr) ((type *)discard_const(ptr))
+#ifndef HAVE_SSIZE_T
+#define ssize_t int
+#endif
+
/*
type safe varient of smb_xmalloc()
*/