mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-23 21:43:51 +01:00
Merge pull request #1766 from Lotterleben/oonf_transport_layer
Fix oonf_api after destiny to socket_base migration
This commit is contained in:
commit
db727d1d85
@ -359,7 +359,7 @@ index 78fd5b4..cfba7a9 100644
|
||||
#endif
|
||||
|
||||
+#ifdef RIOT
|
||||
+#include "transport_layer/socket.h"
|
||||
+#include "socket_base/socket.h"
|
||||
+#define INET_ADDRSTRLEN (16)
|
||||
+#define INET6_ADDRSTRLEN (48)
|
||||
+#endif
|
||||
@ -466,7 +466,7 @@ index 4b3e04d..6b52f72 100644
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#ifdef RIOT
|
||||
+#include "transport_layer/socket.h"
|
||||
+#include "socket_base/socket.h"
|
||||
+#include "inet_ntop.h"
|
||||
+#else
|
||||
#include <sys/socket.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user