home · contact · privacy
Enforce C11 via Makefile, explicate POSIX dependencies in source files.
[plomrogue] / src / client / draw_wins.c
index ed7815e8aac2f4357bb260436855a26fc40177fc..e31dcc4c375f0395b63d97dd8a043dde58bb2bdf 100644 (file)
@@ -1,5 +1,6 @@
 /* src/client/draw_wins.c */
 
+#define _POSIX_C_SOURCE 200809L /* strdup() */
 #include "draw_wins.h"
 #include <ncurses.h> /* typedefs attr_t, chtype, define A_REVERSE */
 #include <stddef.h> /* NULL */