This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Include <string.h> to dis-asm.h to get strchr declaration
- From: Павел Крюков <kryukov at frtk dot ru>
- To: gdb-patches at sourceware dot org
- Date: Fri, 11 Jan 2019 12:47:42 +0300
- Subject: [PATCH] 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 --git a/include/dis-asm.h b/include/dis-asm.h
index 77b9e61..02c7214 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;