Hi Craig, On Monday, 30. July 2012 08:39:08 Craig Leres wrote: > When attempting to compile libftdi on FreeBSD, the lack of stdlib.h in > the example programs prevents them from compiling: > > simple.c: In function 'main': > simple.c:18: error: 'EXIT_FAILURE' undeclared (first use in this > function) > simple.c:18: error: (Each undeclared identifier is reported only > once simple.c:18: error: for each function it appears in.) > simple.c:43: error: 'EXIT_SUCCESS' undeclared (first use in this > function) > *** Error code 1 > > Attached is a set of patches that adds the missing include to the > sources in examples that need it.
Applied to libftdi-0.x, thanks. The fix is already part of "master". Cheers, Thomas -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
