PUD: need an in_port_t typedef on Android
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 19 Jun 2012 07:21:21 +0000 (09:21 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 19 Jun 2012 11:36:02 +0000 (13:36 +0200)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/pud/src/netTools.h

index a7a05ad..1d1580f 100644 (file)
 #include <stdbool.h>
 #include <net/if.h>
 
+
+#ifdef __ANDROID_API__
+typedef __in_port_t in_port_t;
+#endif
+
 /**
  Get the port in an OLSR socket address