evdev.c: errno undefined
Brian Paul
brian.paul at tungstengraphics.com
Wed Feb 22 11:33:27 PST 2006
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?
-Brian
More information about the xorg
mailing list