I received this error while attempting a build on a clean svn checkout. gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/include/freetype2 -c -o libvo/x11_common.o libvo/x11_common.c libvo/x11_common.c: In function 'vo_x11_create_vo_window': libvo/x11_common.c:1279: warning: passing argument 3 of 'vo_x11_classhint' discards qualifiers from pointer target type libvo/x11_common.c: In function 'vo_x11_update_geometry': libvo/x11_common.c:1491: error: 'INT_MAX' undeclared (first use in this function) libvo/x11_common.c:1491: error: (Each undeclared identifier is reported only once libvo/x11_common.c:1491: error: for each function it appears in.) make: *** [libvo/x11_common.o] Error 1