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 a67cb55b1805936970228cdd1cfe65e0a9fcf839..c668376a44c42f63e7df11399634ff63afb3e454 100644
(file)
--- a/
src/client/interface_conf.c
+++ b/
src/client/interface_conf.c
@@
-1,6
+1,7
@@
/* src/client/interface_conf.c */
/* src/client/interface_conf.c */
-#include "misc.h"
+#define _POSIX_C_SOURCE 2 /* getopt(), optarg */
+#include "interface_conf.h"
#include <ncurses.h> /* delwin() */
#include <stdint.h> /* uint8_t, uint32_t */
#include <stdio.h> /* FILE, sprintf() */
#include <ncurses.h> /* delwin() */
#include <stdint.h> /* uint8_t, uint32_t */
#include <stdio.h> /* FILE, sprintf() */