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
/
interface_conf.c
diff --git
a/src/client/interface_conf.c
b/src/client/interface_conf.c
index 57dff9a50f06a6b823e1b0583dad088468d0e722..c668376a44c42f63e7df11399634ff63afb3e454 100644
(file)
--- a/
src/client/interface_conf.c
+++ b/
src/client/interface_conf.c
@@
-1,5
+1,6
@@
/* src/client/interface_conf.c */
+#define _POSIX_C_SOURCE 2 /* getopt(), optarg */
#include "interface_conf.h"
#include <ncurses.h> /* delwin() */
#include <stdint.h> /* uint8_t, uint32_t */