Re: include sys/cdefs.h in sys/mmap.h

2010-02-24 Thread Ingo Schwarze
Christopher Zimmermann wrote on Wed, Feb 24, 2010 at 08:53:28PM +0100: > I just got some errors while trying to compile ptlib: > > error: type specifier omitted for parameter `size_t' > [...] > > They resulted from size_t not being defined in sys/mmap.h > I could fix this problem by including sy

include sys/cdefs.h in sys/mmap.h

2010-02-24 Thread Christopher Zimmermann
Hi! I just got some errors while trying to compile ptlib: error: type specifier omitted for parameter `size_t' [...] They resulted from size_t not being defined in sys/mmap.h I could fix this problem by including sys/types.h instead of sys/cdefs.h in sys/mmap.h Is this a problem of ptlib, which