summaryrefslogtreecommitdiff
path: root/source4/lib/socket
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/socket')
-rw-r--r--source4/lib/socket/interface.c2
-rw-r--r--source4/lib/socket/socket.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c
index c327f02bbd..b4e7c2bf32 100644
--- a/source4/lib/socket/interface.c
+++ b/source4/lib/socket/interface.c
@@ -22,7 +22,7 @@
#include "includes.h"
#include "system/network.h"
#include "lib/socket/netif.h"
-#include "lib/util/dlinklist.h"
+#include "../lib/util/dlinklist.h"
#include "param/param.h"
/** used for network interfaces */
diff --git a/source4/lib/socket/socket.c b/source4/lib/socket/socket.c
index 92f0a44005..0c3d032068 100644
--- a/source4/lib/socket/socket.c
+++ b/source4/lib/socket/socket.c
@@ -491,7 +491,7 @@ static const struct {
**/
_PUBLIC_ void set_socket_options(int fd, const char *options)
{
- const char **options_list = str_list_make(NULL, options, " \t,");
+ const char **options_list = (const char **)str_list_make(NULL, options, " \t,");
int j;
if (!options_list)