From 427a98693eb6600d3d28d13d8a19f38e94675725 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Thu, 25 Aug 2011 22:49:51 +0100 Subject: [PATCH] optarg and friends want _XOPEN_SOURCE 600, and - Petr Pavlu --- demo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/demo.c b/demo.c index 11d85f2..1b148b5 100644 --- a/demo.c +++ b/demo.c @@ -1,5 +1,8 @@ +// we want optarg +#define _XOPEN_SOURCE 600 + #include -#include +#include #include #include "termkey.h"