summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/iconv.c2
-rw-r--r--source4/lib/socket/socket_unix.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/iconv.c b/source4/lib/iconv.c
index c4fea25db5..a08e0ee69a 100644
--- a/source4/lib/iconv.c
+++ b/source4/lib/iconv.c
@@ -56,7 +56,7 @@ static size_t ucs2hex_push(void *,const char **, size_t *, char **, size_t *);
static size_t iconv_copy (void *,const char **, size_t *, char **, size_t *);
static size_t iconv_swab (void *,const char **, size_t *, char **, size_t *);
-static const struct charset_functions const builtin_functions[] = {
+static const struct charset_functions builtin_functions[] = {
/* windows is closest to UTF-16 */
{"UCS-2LE", iconv_copy, iconv_copy},
{"UTF-16LE", iconv_copy, iconv_copy},
diff --git a/source4/lib/socket/socket_unix.c b/source4/lib/socket/socket_unix.c
index f09573802a..0ba4797219 100644
--- a/source4/lib/socket/socket_unix.c
+++ b/source4/lib/socket/socket_unix.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "system/network.h"