diff options
author | Felix Janda <felix.janda@posteo.de> | 2015-05-02 21:51:01 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2015-05-02 21:53:47 +0200 |
commit | 043e52bc42021f71b85229f6d78bf7e75b282765 (patch) | |
tree | c463f592fe82f20bb1651747cead1de172732d8a /iptables/iptables-xml.c | |
parent | ab8c7d82f7848d318e472a3d809ec7dab969bd04 (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-xml.c')
-rw-r--r-- | iptables/iptables-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/iptables-xml.c b/iptables/iptables-xml.c index c7615abb..74614127 100644 --- a/iptables/iptables-xml.c +++ b/iptables/iptables-xml.c @@ -7,7 +7,7 @@ */ #include <getopt.h> -#include <sys/errno.h> +#include <errno.h> #include <string.h> #include <stdio.h> #include <stdlib.h> |