aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorПавел Крюков <kryukov@frtk.ru>2019-01-11 12:47:42 +0300
committerSimon Marchi <simon.marchi@ericsson.com>2019-01-14 16:41:03 -0500
commit8f0a21480babea5b22cba13a3bee722408ca57e3 (patch)
tree28fc0094db1a21cadd8de2d5d9b985f83a367b29
parent6f072a103498fa9b7795782d9fdf1ae226f5565e (diff)
downloadfsf-binutils-gdb-8f0a21480babea5b22cba13a3bee722408ca57e3.zip
fsf-binutils-gdb-8f0a21480babea5b22cba13a3bee722408ca57e3.tar.gz
fsf-binutils-gdb-8f0a21480babea5b22cba13a3bee722408ca57e3.tar.bz2
Include <string.h> to dis-asm.h to get strchr declaration
Include <string.h> to dis-asm.h to get strchr declaration include/Changelog: 2019-01-11 Pavel I. Kryukov <kryukov@frtk.ru> * dis-asm.h: include <string.h>
-rw-r--r--include/ChangeLog4
-rw-r--r--include/dis-asm.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 8904972..e49dbbd 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-14 Pavel I. Kryukov <kryukov@frtk.ru>
+
+ * dis-asm.h: include <string.h>
+
2019-01-10 Nick Clifton <nickc@redhat.com>
* Merge from GCC:
diff --git a/include/dis-asm.h b/include/dis-asm.h
index 0244475..22c593e 100644
--- a/include/dis-asm.h
+++ b/include/dis-asm.h
@@ -32,6 +32,7 @@ extern "C" {
#endif
#include <stdio.h>
+#include <string.h>
#include "bfd.h"
typedef int (*fprintf_ftype) (void *, const char*, ...) ATTRIBUTE_FPTR_PRINTF_2;