Bug#641512: sys/timerfd.h does not compile with C99
Package: libc6-dev-i386
Version: 2.13-20
Severity: normal
File: /usr/include/sys/timerfd.h
/tmp$ cat timerfdtest.c
#include <sys/timerfd.h>
/tmp$ gcc -std=c99 -c timerfdtest.c -o /dev/null
In file included from timerfdtest.c:1:0:
/usr/include/x86_64-linux-gnu/sys/timerfd.h:46:28: error: unknown type name ‘clockid_t’
Compiles fine without -std=c99.
- Josh Triplett
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libc6-dev-i386 depends on:
ii libc6-dev 2.13-20
ii libc6-i386 2.13-20
Versions of packages libc6-dev-i386 recommends:
ii gcc-multilib 4:4.6.1-2
libc6-dev-i386 suggests no packages.
-- no debconf information
Reply to: