summaryrefslogtreecommitdiffstats
path: root/tests/test-cli.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-09-15 01:53:09 -0700
committerMartin Winter <mwinter@opensourcerouting.org>2015-10-16 23:50:45 -0700
commit821df2cf18e5978cc7ab532a8695444380d08270 (patch)
treef306ad0e31d572c44193b5d709b4b3915ea89d90 /tests/test-cli.c
parentca8ec20b017393dbe91ff9e5ae2b7ff12872f869 (diff)
downloadquagga-821df2cf18e5978cc7ab532a8695444380d08270.tar.bz2
quagga-821df2cf18e5978cc7ab532a8695444380d08270.tar.xz
*: 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>
Diffstat (limited to 'tests/test-cli.c')
-rw-r--r--tests/test-cli.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-cli.c b/tests/test-cli.c
index 3db44eec..6fab6d52 100644
--- a/tests/test-cli.c
+++ b/tests/test-cli.c
@@ -20,6 +20,8 @@
* 02111-1307, USA.
*/
+#include <zebra.h>
+
#include "common-cli.h"
DUMMY_DEFUN(cmd0, "arg ipv4 A.B.C.D");