summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-06-17 21:19:42 +0200
committerGitHub <noreply@github.com>2019-06-17 21:19:42 +0200
commit7ec5e2bf704242ff083e258215ed0967173b969c (patch)
tree1121416c392d2df5624c4d114e614c63893ba6d7 /tests/lib
parentDocument FRR service manipulation (#4528) (diff)
parentbgpd: fix uninitialized & wrong endian NOTIFY (diff)
downloadfrr-7ec5e2bf704242ff083e258215ed0967173b969c.tar.xz
frr-7ec5e2bf704242ff083e258215ed0967173b969c.zip
Merge pull request #4514 from opensourcerouting/warnings-20190612
*: kill more warnings
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/test_idalloc.c4
-rw-r--r--tests/lib/test_seqlock.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib/test_idalloc.c b/tests/lib/test_idalloc.c
index 3053c1c07..ce1582b1b 100644
--- a/tests/lib/test_idalloc.c
+++ b/tests/lib/test_idalloc.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "id_alloc.h"
#include <inttypes.h>
diff --git a/tests/lib/test_seqlock.c b/tests/lib/test_seqlock.c
index 6b2b9ed8a..9cc6f8070 100644
--- a/tests/lib/test_seqlock.c
+++ b/tests/lib/test_seqlock.c
@@ -18,6 +18,10 @@
* Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdint.h>
#include <inttypes.h>