summaryrefslogtreecommitdiffstats
path: root/iptables/iptables-restore.c
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2015-05-02 21:51:01 +0200
committerFlorian Westphal <fw@strlen.de>2015-05-02 21:53:47 +0200
commit043e52bc42021f71b85229f6d78bf7e75b282765 (patch)
treec463f592fe82f20bb1651747cead1de172732d8a /iptables/iptables-restore.c
parentab8c7d82f7848d318e472a3d809ec7dab969bd04 (diff)
consistently use <errno.h>
On glibc, <sys/errno.h> is a synomym for <errno.h>. <errno.h> is specified by POSIX, so use that. Fixes compilation error with musl libc Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/iptables-restore.c')
-rw-r--r--iptables/iptables-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/iptables-restore.c b/iptables/iptables-restore.c
index 261822dd..638b1714 100644
--- a/iptables/iptables-restore.c
+++ b/iptables/iptables-restore.c
@@ -6,7 +6,7 @@
*/
#include <getopt.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>