OSDN Git Service

dl-defs.h: avoid including dl-sysdep.h if compiling hostutils
authorPeter S. Mazinger <ps.m@gmx.net>
Sat, 2 Apr 2011 01:34:42 +0000 (03:34 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:35 +0000 (14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
ldso/include/dl-defs.h

index d98eba4..a1735f0 100644 (file)
@@ -72,8 +72,10 @@ typedef struct {
 
 #endif
 
+#ifdef _LIBC
 /* arch specific defines */
 #include <dl-sysdep.h>
+#endif
 
 /* Provide a means for a port to pass additional arguments to the _dl_start
    function.  */