home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Server: Poll server/in only every 0.33 seconds to reduce CPU usage.
[plomrogue]
/
src
/
client
/
io.c
diff --git
a/src/client/io.c
b/src/client/io.c
index 477700f9df096e522781a450bce93b3a59bf7b39..1995b14a67aca61f74fb9b710ebaa33a13169b89 100644
(file)
--- a/
src/client/io.c
+++ b/
src/client/io.c
@@
-1,5
+1,6
@@
/* src/client/io.c */
+#define _POSIX_C_SOURCE 1 /* PIPE_BUF */
#include "io.h"
#include <limits.h> /* PIPE_BUF */
#include <ncurses.h> /* halfdelay(), getch() */