PATCH: Don't include <link.h> if __BIONIC__ is defined
H.J. Lu
hongjiu.lu@intel.com
Mon Sep 6 23:19:00 GMT 2010
Hi,
Bionic C library doesn't have <link.h>. OK for trunk?
Thanks.
H.J.
---
2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
* unwind-dw2-fde-glibc.c: Don't include <link.h> if __BIONIC__
is defined.
diff --git a/gcc/unwind-dw2-fde-glibc.c b/gcc/unwind-dw2-fde-glibc.c
index b8a7312..d2a591e 100644
--- a/gcc/unwind-dw2-fde-glibc.c
+++ b/gcc/unwind-dw2-fde-glibc.c
@@ -32,7 +32,7 @@
#include "tconfig.h"
#include "tsystem.h"
-#ifndef inhibit_libc
+#if !defined(inhibit_libc) && !defined(__BIONIC__)
#include <link.h>
#endif
#include "coretypes.h"
More information about the Libc-alpha
mailing list