compiling dosemu 0.99.9 fails with 
make[2]: Entering directory
`/usr/local/home/mk/dosemu-0.99.9/src/tools/periph'
gcc -D_GNU_SOURCE -O2 -fomit-frame-pointer -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -MD -fno-gcse
-DGCC_VERSION_CODE=2091 -DASM_PEDANTIC -DGLIBC_VERSION_CODE=2000
-D_XOPEN_SOURCE -pipe -DUSING_NET   -Wall
-I/usr/local/home/mk/dosemu-0.99.9/src/include
-I/usr/local/home/mk/dosemu-0.99.9/src/dosext/dpmi
-I/usr/local/home/mk/dosemu-0.99.9/src/include/slang
-I/usr/X11R6/include    -Wl,-warn-common  dosctrl.c   -o dosctrl
dosctrl.c: In function `main':
dosctrl.c:152: invalid use of undefined type `struct timeval'
dosctrl.c:153: invalid use of undefined type `struct timeval'
dosctrl.c: At top level:
dosctrl.c:54: storage size of `timeout' isn't known

This is caused by a typo in dosctrl.c
----------------------[snip]-------------------------------------------
--- ./src/tools/periph/dosctrl.c.old    Sat Feb 27 14:17:57 1999
+++ ./src/tools/periph/dosctrl.c        Sat Feb 27 14:48:57 1999
@@ -17,7 +17,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #if defined (__GLIBC__) && __GLIBC__ >= 2
-#define __needs_timeval
+#define __need_timeval
 #include <timebits.h>
 #endif
 #include <time.h>
----------------------[snip]-------------------------------------------
PS : Are there versions of time.h from glibc2  which don�t include
timebits.h  ?

--
Markus Kossmann                                    
[EMAIL PROTECTED]

Reply via email to