fekberg / GoHttp

This is a simple, work-in progress web server written in C for Linux.
94 stars 38 forks source link

Cannot find wait.h on Mac #6

Closed dristic closed 10 years ago

dristic commented 10 years ago

When I try to compile the app I get an error saying "Cannot find file wait.h" when compiling on Mac OSX Mavericks.

To fix this, I had to change wait.h to sys/wait.h which allows it to compile correctly. I am not sure if this is just a Mac issue or not but I will leave it up to you to decide if you want to make the change!

fekberg commented 10 years ago

Changing to sys/wait.h works on Linux as well so I've changed it. Should now compile on OSX out of the box as well.

Thanks for reporting this issue

dristic commented 10 years ago

No problem. Thanks for fixing it!