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 8904972b0774bad2d6f4896919b31c9f207e314b..e49dbbd06a795c3b7f481a3b49a2792f58d8c11d 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 024447565d58083f962a2d99d19e1516d075cddb..22c593ece6e1d13214987f98f8dfee271d527dce 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;