Compiling GNU smalltalk on a OS X
This is just for references, if anyone ever searches for compiling smalltalk on OS X in google. I was compiling the latest stable release, 2.1.9.
When compiling GNU smalltalk on Mac OS X, and you run into errors with poll.h, my suggestion is to comment the block of code which #includes sys/poll.h. You’ll find that the compilation will go more smoothly with the definitions in poll.h (the fake out section) rather than the definitions in sys/poll.h. In fact if you read, sys/poll.h it recommends you not #including it. Perhaps this is a bug and should be submitted to the maintainer of GNU smalltalk.