evdev.c: errno undefined
Felix Kühling
fxkuehl at gmx.de
Wed Feb 22 11:44:16 PST 2006
Am Mittwoch, den 22.02.2006, 12:33 -0700 schrieb Brian Paul:
> make[2]: Entering directory
> `/home/projects/freedesktop/xorg/src/driver/xf86-input-evdev/src'
> if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -g -O2 -DXFree86Server -DIN_MODULE -DXFree86Module
> -DXFree86LOADER -I/home/projects/freedesktop/xorg/modular/include/xorg
> -I/home/projects/freedesktop/xorg/modular/include -I../src -MT
> evdev.lo -MD -MP -MF ".deps/evdev.Tpo" \
> -c -o evdev.lo `test -f 'evdev.c' || echo './'`evdev.c; \
> then mv ".deps/evdev.Tpo" ".deps/evdev.Plo"; \
> else rm -f ".deps/evdev.Tpo"; exit 1; \
> fi
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -DXFree86Server -DIN_MODULE
> -DXFree86Module -DXFree86LOADER
> -I/home/projects/freedesktop/xorg/modular/include/xorg
> -I/home/projects/freedesktop/xorg/modular/include -I../src -MT
> evdev.lo -MD -MP -MF .deps/evdev.Tpo -c evdev.c -fPIC -DPIC -o
> .libs/evdev.o
> evdev.c: In function `EvdevReadInput':
> evdev.c:96: error: `errno' undeclared (first use in this function)
> evdev.c:96: error: (Each undeclared identifier is reported only once
> evdev.c:96: error: for each function it appears in.)
> evdev.c: In function `EvdevProc':
> evdev.c:178: error: `errno' undeclared (first use in this function)
>
>
> Do we just need #include <errno.h> or should errno come from a libc
> wrapper?
FYI, I filed this last weekend:
https://bugs.freedesktop.org/show_bug.cgi?id=5943. No response yet.
Regards,
Felix
>
> -Brian
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
>
--
| Felix Kühling <fxkuehl at gmx.de> http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 |
More information about the xorg
mailing list