lispmob accesses the gnu members of struct udphdr like source and dest and does not use the posix member names. Instead of using the correct names just define this as _GNU_SOURCE. [bump PKG_RELEASE] Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
31 lines
576 B
Diff
31 lines
576 B
Diff
--- a/lispd/lispd_output.c
|
|
+++ b/lispd/lispd_output.c
|
|
@@ -26,6 +26,7 @@
|
|
* Alberto Rodriguez Natal <arnatal@ac.upc.edu>
|
|
*/
|
|
|
|
+#define _GNU_SOURCE 1
|
|
|
|
|
|
#include <assert.h>
|
|
--- a/lispd/lispd_input.c
|
|
+++ b/lispd/lispd_input.c
|
|
@@ -26,6 +26,7 @@
|
|
* Alberto Rodriguez Natal <arnatal@ac.upc.edu>
|
|
*/
|
|
|
|
+#define _GNU_SOURCE 1
|
|
|
|
#include "lispd_input.h"
|
|
#include "lispd_map_notify.h"
|
|
--- a/lispd/lispd_pkt_lib.c
|
|
+++ b/lispd/lispd_pkt_lib.c
|
|
@@ -28,6 +28,8 @@
|
|
*
|
|
*/
|
|
|
|
+#define _GNU_SOURCE 1
|
|
+
|
|
#include "lispd_afi.h"
|
|
#include "lispd_pkt_lib.h"
|
|
#include "lispd_lib.h"
|