summaryrefslogtreecommitdiff
path: root/lib/strlcat.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-09 14:11:10 -0400
committerGitHub <noreply@github.com>2018-09-09 14:11:10 -0400
commit5381b930b38edbf6797ae058593546b718133cb1 (patch)
treeaeaabaa7a8231f096f91d07d9a488564761a9a82 /lib/strlcat.c
parent55e6c1329f78d5c672a58ff1fad86d7711a649c3 (diff)
parent7b34167d7dac6e898c49c675cfc80ae68c64bc98 (diff)
Merge pull request #2965 from opensourcerouting/buildfoo-20180904
more build fixes & warning-free build
Diffstat (limited to 'lib/strlcat.c')
-rw-r--r--lib/strlcat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/strlcat.c b/lib/strlcat.c
index be211f82a8..39773d9ac8 100644
--- a/lib/strlcat.c
+++ b/lib/strlcat.c
@@ -20,11 +20,13 @@
/* adapted for Quagga from glibc patch submission originally from
* Florian Weimer <fweimer@redhat.com>, 2016-05-18 */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdint.h>
#include <string.h>
-#include "config.h"
-
#ifndef HAVE_STRLCAT
#undef strlcat