Include <string.h> to dis-asm.h to get strchr declaration
authorПавел Крюков <kryukov@frtk.ru>
Fri, 11 Jan 2019 09:47:42 +0000 (12:47 +0300)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 14 Jan 2019 21:41:03 +0000 (16:41 -0500)
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>

include/ChangeLog
include/dis-asm.h

index 8904972..e49dbbd 100644 (file)
@@ -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:
index 0244475..22c593e 100644 (file)
@@ -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;