aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2017-01-25 12:49:24 -0800
committerGeorge Burgess IV <gbiv@google.com>2017-01-25 12:49:24 -0800
commita4a09545aaac1d96089da4449591402db37cd385 (patch)
treed3eaf4fd86aee7df4dbaf9efd0e3b68a33d90c9a
parentcfa7e505ada2860d5d693da0a2f7278779159c48 (diff)
downloadtcpdump-a4a09545aaac1d96089da4449591402db37cd385.tar.gz
Tell tcpdump that Bionic has strlcat
Without this, our new FORTIFY complains about strlcat redeclarations. Bug: 32073964 Test: Now builds with clang FORTIFY. Change-Id: I593824ed24aeda714ed03da5ebe19ea517908880
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index f6982f8a..5a5d8ce4 100644
--- a/config.h
+++ b/config.h
@@ -177,7 +177,7 @@
#define HAVE_STRING_H 1
/* Define to 1 if you have the `strlcat' function. */
-/* #undef HAVE_STRLCAT */
+#define HAVE_STRLCAT 1
/* Define to 1 if you have the `strlcpy' function. */
#define HAVE_STRLCPY 1