home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enforce C11 via Makefile, explicate POSIX dependencies in source files.
[plomrogue]
/
src
/
client
/
windows.c
diff --git
a/src/client/windows.c
b/src/client/windows.c
index 28654b4b6c28ddd12fe2d78fbeaef4a002296700..e84d652554c74ba12face4114501818193f500ad 100644
(file)
--- a/
src/client/windows.c
+++ b/
src/client/windows.c
@@
-1,5
+1,6
@@
/* src/client/windows.c */
+#define _POSIX_C_SOURCE 200809L /* strnlen() */
#include "windows.h"
#include <ncurses.h> /* chtype, getmaxx(), getmaxy(), erase(), werase(),
* endwin(), delwin(), wnoutrefresh(), pnoutrefresh(),