Fix oonf_api after destiny to socket_base migration

The include path provided for socket.h did not exist.
This commit is contained in:
Lotte Steenbrink 2014-10-06 15:49:39 -07:00
parent cc319d1dd8
commit 05f43a9e35

View File

@ -359,7 +359,7 @@ index 78fd5b4..cfba7a9 100644
#endif #endif
+#ifdef RIOT +#ifdef RIOT
+#include "transport_layer/socket.h" +#include "socket_base/socket.h"
+#define INET_ADDRSTRLEN (16) +#define INET_ADDRSTRLEN (16)
+#define INET6_ADDRSTRLEN (48) +#define INET6_ADDRSTRLEN (48)
+#endif +#endif
@ -466,7 +466,7 @@ index 4b3e04d..6b52f72 100644
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
+#ifdef RIOT +#ifdef RIOT
+#include "transport_layer/socket.h" +#include "socket_base/socket.h"
+#include "inet_ntop.h" +#include "inet_ntop.h"
+#else +#else
#include <sys/socket.h> #include <sys/socket.h>