linux llvm-gcc build broken

See below. This is on Ubuntu Hardy on ia32. Thanks,


make[3]: Entering directory `/home/regehr/llvm-gcc/build/gcc'
gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber -I/home/regehr/llvm/include -I/home/regehr/llvm/include -DENABLE_LLVM -I/home/regehr/llvm/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS ../../gcc/c-incpath.c -o c-incpath.o
../../gcc/c-incpath.c:37: error: conflicting types for ‘mempcpy’
make[3]: *** [c-incpath.o] Error 1
make[3]: Leaving directory `/home/regehr/llvm-gcc/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/regehr/llvm-gcc/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/regehr/llvm-gcc/build'
make: *** [all] Error 2

I added explicit memcpy decl and it did not work on Ubunty.

I'll update my patch to make it darwin specific.