projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compilation error on BeOS.
[pspp]
/
lib
/
poll.c
diff --git
a/lib/poll.c
b/lib/poll.c
index 2ec7be02dc2aaf443a63c68277960c3678d7408d..ed81dbaafb85f4feb82533833c9480251e857fa9 100644
(file)
--- a/
lib/poll.c
+++ b/
lib/poll.c
@@
-47,6
+47,11
@@
#define EOVERFLOW EINVAL
#endif
+/* BeOS does not have MSG_PEEK. */
+#ifndef MSG_PEEK
+#define MSG_PEEK 0
+#endif
+
int
poll (pfd, nfd, timeout)
struct pollfd *pfd;