On 2012-07-16 at 03:30:07 [+0200], Pete Goodeve <pete.goodeve@xxxxxxxxxxxx> wrote: > I'm trying to compile Jon Yoder's Filer app, but it keeps finding a need > for ssize_t deep in the nest of system headers, but it doesn't get defined. > Typically: > > In file included from /boot/develop/headers/bsd/unistd.h:9:0, > from /boot/develop/headers/posix/fcntl.h:11, > from /boot/develop/headers/os/storage/StorageDefs.h:9, > from /boot/develop/headers/os/kernel/OS.h:14, > from /boot/develop/headers/os/interface/InterfaceDefs.h:10, > from /boot/develop/headers/os/interface/Alignment.h:8, > from /boot/develop/headers/os/interface/View.h:9, > from ./ActionView.h:9, > from ActionView.cpp:6: > /boot/develop/headers/posix/unistd.h:162:8: error: 'ssize_t' does not name > a type > > The type seems to be defined by including <sys/types.h>' (which finds > it in size_t.h), but I assume Jon didn't have to do this four years ago > when he wrote it, so what's changed? Do I have to go through all > the sources and insert that include in all the required places, or > is there something I'm missing? <unistd.h> includes <sys/types.h>, so I'd say there's indeed a problem with your installation. > I see that 'stddef.h' is entirely missing. I guess this is intentional? > Looks like pretty much a no-op in BeOS Intel. A few headers are provided by the compiler and can be found in the compiler's include directory. CU, Ingo