The patch to correct errors$ make
make -C src all
make[1]: Entering directory `/cygdrive/c/svn/aalib/src'
psp-gcc -I../include -I. -I/usr/local/pspdev/psp/sdk/include -G0 -g -O2 -D_
PSP_FW_VERSION=150 -c -o aastdin.o aastdin.c
aastdin.c: In function 'stdin_getchar':
aastdin.c:58: error: 'fd_set' undeclared (first use in this function)
aastdin.c:58: error: (Each undeclared identifier is reported only once
aastdin.c:58: error: for each function it appears in.)
aastdin.c:58: error: expected ';' before 'readfds'
aastdin.c:61: error: 'readfds' undeclared (first use in this function)
make[1]: *** [aastdin.o] Error 1
make[1]: Leaving directory `/cygdrive/c/svn/aalib/src'
make: *** [all] Error 2
aalib.patch
Code: Select all
--- src/aastdin.c 2008-10-02 09:59:00.000000000 +0600
+++ src/aastdin.c.new 2008-11-09 14:10:40.000000000 +0500
@@ -5,6 +5,7 @@
#include <setjmp.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <sys/fd_set.h>
#ifdef GPM_MOUSEDRIVER
#include <gpm.h>
#endif