Bug#222709: */time.h: Some one is not using _STRUCT_TIMEVAL.
Package: libc6-dev
Version: 2.3.2.ds1-10
Severity: normal
This is what I get from...
#include <linux/time.h>
#include <sys/time.h>
In file included from /usr/include/sys/time.h:28,
from tmp.c:2:
/usr/include/bits/time.h:70: error: redefinition of struct timeval'
In file included from /usr/include/sys/select.h:44,
from /usr/include/sys/time.h:30,
from tmp.c:2:
/usr/include/time.h:119:
error: redefinition of struct timespec'
In file included from /usr/include/sys/time.h:30,
from tmp.c:2:
/usr/include/sys/select.h:78: error: conflicting types for fd_set'
/usr/include/linux/types.h:22: error: previous declaration
of fd_set'
In file included from tmp.c:2:
/usr/include/sys/time.h:57: error: redefinition of struct timezone'
/usr/include/sys/time.h:94: error: parse error before numeric constant
/usr/include/sys/time.h:108: error: redefinition of struct itimerval'
This is scary, how did this get distributed?
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux overrun 2.6.0-test9-1-386 #1 Sun Oct 26 22:32:52 EST 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libc6-dev depends on:
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii linux-kernel-headers 2.5.999-test7-bk-9 Linux Kernel Headers for developme
-- no debconf information
Reply to: