This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mach/spin-solid.c fails to compile


(http://sourceware.org/bugzilla/show_bug.cgi?id=4610)

In file included from ../mach/lock-intern.h:22,
                 from ../mach/spin-lock.h:23,
                 from spin-solid.c:19:
../sysdeps/mach/i386/machine-lock.h:38: error: syntax error before 'void'

This is because before machine-lock.h is included, <sys/cdefs.h> never
gets included for defining __extern_inline...  Here is a patch for
including it from lock-intern.h, where it is used.

Samuel

Attachment: patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]