Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > 7235506c2e27c8ccc58ae57303a4ed2f > files > 4

cross-gcc-6.0.0-0.2.mga6.src.rpm

diff -up gcc-4.7.0/libgcc/config/m68k/linux-atomic.c.cross-libgcc-m68k gcc-4.7.0/libgcc/config/m68k/linux-atomic.c
--- gcc-4.7.0/libgcc/config/m68k/linux-atomic.c.cross-libgcc-m68k	2012-06-01 18:08:54.998851298 +0200
+++ gcc-4.7.0/libgcc/config/m68k/linux-atomic.c	2012-06-01 18:09:16.871488040 +0200
@@ -33,7 +33,9 @@ see the files COPYING3 and COPYING.RUNTI
    using the kernel helper defined below.  There is no support for
    64-bit operations yet.  */
 
+#ifndef inhibit_libc
 #include <asm/unistd.h>
+#endif
 #include <stdbool.h>
 
 #ifndef __NR_atomic_cmpxchg_32