iputils/0001-arping-tracepath-removed-unused-idna-header.patch
2017-11-24 10:17:57 +01:00

42 lines
920 B
Diff

From 01fba8245ae81edbe07a36ee6afa00264a4714c4 Mon Sep 17 00:00:00 2001
From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Date: Mon, 14 Aug 2017 20:33:21 +0200
Subject: [PATCH 1/4] arping,tracepath: removed unused idna header
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
(cherry picked from commit 44354bdad5ae53f90734375baa8869436b73fb31)
Resolves: #1449149
---
arping.c | 1 -
tracepath.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/arping.c b/arping.c
index 1a3f40b..6ad3f5d 100644
--- a/arping.c
+++ b/arping.c
@@ -43,7 +43,6 @@ struct sysfs_devattr_values;
#endif
#ifdef USE_IDN
-#include <idna.h>
#include <locale.h>
#endif
diff --git a/tracepath.c b/tracepath.c
index 74a829d..68e2098 100644
--- a/tracepath.c
+++ b/tracepath.c
@@ -28,7 +28,6 @@
#include <arpa/inet.h>
#ifdef USE_IDN
-#include <idna.h>
#include <locale.h>
#define getnameinfo_flags NI_IDN
#else
--
2.13.6