mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 00:23:56 +00:00
Remove "event-loop.h" inclusion from "top.h"
Older GCCs (e.g. GCC 4.4 in CentOS 6) chokes on having two identical typedefs like this: typedef void *p; typedef void *p; The event-loop.h header does not have a guard against double-inclusion. Not the best solution, but it works and eventually 7.12 will fall into obsolescence anyway. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
a75a770595
commit
8b8e6b4e5d
16
packages/gdb/7.12.1/0006-duplicate-typedef.patch
vendored
Normal file
16
packages/gdb/7.12.1/0006-duplicate-typedef.patch
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
|
||||
---
|
||||
gdb/top.h | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
--- a/gdb/top.h
|
||||
+++ b/gdb/top.h
|
||||
@@ -21,7 +21,6 @@
|
||||
#define TOP_H
|
||||
|
||||
#include "buffer.h"
|
||||
-#include "event-loop.h"
|
||||
|
||||
struct tl_interp_info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user