Browse Source

dl-defs.h: avoid including dl-sysdep.h if compiling hostutils

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 13 years ago
parent
commit
b3c8238912
1 changed files with 2 additions and 0 deletions
  1. 2 0
      ldso/include/dl-defs.h

+ 2 - 0
ldso/include/dl-defs.h

@@ -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.  */