diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-04-24 06:40:33 +0000 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-06-03 15:31:32 +0200 |
commit | 224e7e515747b74dd6d3610570a64b9726a27722 (patch) | |
tree | 7e461067f11c264931c3f2a03174db434a174c58 /lib/zebra.h | |
parent | d9d4ae5157207b9b8bdb167983519a7ffb860f2c (diff) | |
download | quagga-224e7e515747b74dd6d3610570a64b9726a27722.tar.bz2 quagga-224e7e515747b74dd6d3610570a64b9726a27722.tar.xz |
lib: remove redundant and incorrect sys/fcntl.h include
POSIX defines <fcntl.h>, <sys/fcntl.h> is the same thing. However,
it should not be used as it's existence can depend on C-library
implementation. E.g. musl gives warning if <sys/fcntl.h> is used.
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r-- | lib/zebra.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index 780e12eb..3715b342 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -51,7 +51,6 @@ typedef int socklen_t; #ifdef HAVE_STROPTS_H #include <stropts.h> #endif /* HAVE_STROPTS_H */ -#include <sys/fcntl.h> #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> #endif /* HAVE_SYS_SELECT_H */ |