summaryrefslogtreecommitdiffstats
path: root/lib/getopt1.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-09-15 10:53:09 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-09 16:45:22 +0200
commit7a2fbbf0ee98f16021c4b809f342ee6cf4b7f8ac (patch)
treebdba881cf8f07846258451a81a03fdec456bcc0e /lib/getopt1.c
parentlib/zclient: Consolidate error reporting for zclient_read_header (diff)
downloadfrr-7a2fbbf0ee98f16021c4b809f342ee6cf4b7f8ac.tar.xz
frr-7a2fbbf0ee98f16021c4b809f342ee6cf4b7f8ac.zip
*: make sure zebra.h is always included first
zebra.h pulls in config.h, which results in fiddling with things like __FILE_OFFSET_BITS. It must always be included first, in order to set flags that influence the compiler via <features.h>. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 821df2cf18e5978cc7ab532a8695444380d08270)
Diffstat (limited to 'lib/getopt1.c')
-rw-r--r--lib/getopt1.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/getopt1.c b/lib/getopt1.c
index fa766747a..bd3099e79 100644
--- a/lib/getopt1.c
+++ b/lib/getopt1.c
@@ -20,10 +20,6 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. */
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <zebra.h>
#include "getopt.h"