This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Include <string.h> to dis-asm.h to get strchr declaration


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8f0a21480babea5b22cba13a3bee722408ca57e3

commit 8f0a21480babea5b22cba13a3bee722408ca57e3
Author: Ð?авел Ð?Ñ?Ñ?ков <kryukov@frtk.ru>
Date:   Fri Jan 11 12:47:42 2019 +0300

    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>

Diff:
---
 include/ChangeLog | 4 ++++
 include/dis-asm.h | 1 +
 2 files changed, 5 insertions(+)

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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]