Haiku fixes (#3399)

* Allow running as root on Haiku.
* include unistd.h for ::read and ::write.
* Link libnetwork on Haiku.
This commit is contained in:
Jérôme Duval
2017-03-04 21:31:28 +01:00
committed by Tres Finocchiaro
parent f7d09c3c69
commit 80c5b7d906
3 changed files with 6 additions and 1 deletions

View File

@@ -94,6 +94,7 @@ typedef int32_t key_t;
#ifndef SYNC_WITH_SHM_FIFO
#include <poll.h>
#include <unistd.h>
#endif
#endif