summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/wind
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/wind')
-rw-r--r--source4/heimdal/lib/wind/gen-bidi.py1
-rw-r--r--source4/heimdal/lib/wind/gen-combining.py1
-rw-r--r--source4/heimdal/lib/wind/gen-errorlist.py1
-rw-r--r--source4/heimdal/lib/wind/gen-normalize.py1
-rw-r--r--source4/heimdal/lib/wind/windlocl.h1
5 files changed, 5 insertions, 0 deletions
diff --git a/source4/heimdal/lib/wind/gen-bidi.py b/source4/heimdal/lib/wind/gen-bidi.py
index 42af72f3bf..70abb1ed76 100644
--- a/source4/heimdal/lib/wind/gen-bidi.py
+++ b/source4/heimdal/lib/wind/gen-bidi.py
@@ -70,6 +70,7 @@ extern const size_t _wind_l_table_size;
bidi_c.file.write(
'''
+#include <stdlib.h>
#include "bidi_table.h"
''')
diff --git a/source4/heimdal/lib/wind/gen-combining.py b/source4/heimdal/lib/wind/gen-combining.py
index f7e9bf881f..cc692fd2a6 100644
--- a/source4/heimdal/lib/wind/gen-combining.py
+++ b/source4/heimdal/lib/wind/gen-combining.py
@@ -73,6 +73,7 @@ extern const size_t _wind_combining_table_size;
combining_c.file.write(
'''
+#include <stdlib.h>
#include "combining_table.h"
const struct translation _wind_combining_table[] = {
diff --git a/source4/heimdal/lib/wind/gen-errorlist.py b/source4/heimdal/lib/wind/gen-errorlist.py
index 6ea88d7bc5..b921377ab7 100644
--- a/source4/heimdal/lib/wind/gen-errorlist.py
+++ b/source4/heimdal/lib/wind/gen-errorlist.py
@@ -77,6 +77,7 @@ extern const size_t _wind_errorlist_table_size;
errorlist_c.file.write(
'''
+#include <stdlib.h>
#include "errorlist_table.h"
const struct error_entry _wind_errorlist_table[] = {
diff --git a/source4/heimdal/lib/wind/gen-normalize.py b/source4/heimdal/lib/wind/gen-normalize.py
index 0a20b71cfa..c076088fd0 100644
--- a/source4/heimdal/lib/wind/gen-normalize.py
+++ b/source4/heimdal/lib/wind/gen-normalize.py
@@ -97,6 +97,7 @@ extern const unsigned short _wind_canon_next_table[];
normalize_c.file.write(
'''
+#include <stdlib.h>
#include "normalize_table.h"
const struct translation _wind_normalize_table[] = {
diff --git a/source4/heimdal/lib/wind/windlocl.h b/source4/heimdal/lib/wind/windlocl.h
index fb5e0b25da..da9d58cfee 100644
--- a/source4/heimdal/lib/wind/windlocl.h
+++ b/source4/heimdal/lib/wind/windlocl.h
@@ -41,6 +41,7 @@
#endif
#include <krb5-types.h>
+#include <roken.h>
#include "wind.h"
#include "wind_err.h"