ZungBang/undbx — pull request #1 by dabble (2011-12-01 16:20:26+00:00)
Title: Code needs to treat Mac OS X systems like Unix systems

Without this fix, we see undefined message errors because nothing is
defined for several target dependent methods.

> make
make all-am
gcc -DHAVE_CONFIG_H -I. -Wall -Werror -g -O2 -MT undbx.o -MD -MP -MF .deps/undbx.Tpo -c -o undbx.o undbx.c
mv -f .deps/undbx.Tpo .deps/undbx.Po
gcc -DHAVE_CONFIG_H -I. -Wall -Werror -g -O2 -MT dbxsys.o -MD -MP -MF .deps/dbxsys.Tpo -c -o dbxsys.o dbxsys.c
cc1: warnings being treated as errors
dbxsys.c: In function ‘sys_glob’:
dbxsys.c:193: warning: implicit declaration of function ‘_sys_glob’
dbxsys.c:193: warning: assignment makes pointer from integer without a cast
dbxsys.c: In function ‘sys_mkdir’:
dbxsys.c:217: warning: implicit declaration of function ‘_sys_mkdir’
dbxsys.c: In function ‘sys_chdir’:
dbxsys.c:242: warning: implicit declaration of function ‘_sys_chdir’
dbxsys.c: In function ‘sys_getcwd’:
dbxsys.c:247: warning: implicit declaration of function ‘_sys_getcwd’
dbxsys.c:247: warning: return makes pointer from integer without a cast
dbxsys.c: In function ‘sys_delete’:
dbxsys.c:291: warning: implicit declaration of function ‘unlink’
dbxsys.c: In function ‘sys_set_time’:
dbxsys.c:330: warning: implicit declaration of function ‘_sys_set_time’
make[1]: *** [dbxsys.o] Error 1
make: *** [all] Error 2