diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-08-25 22:49:51 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-08-25 22:49:51 +0100 |
commit | 427a98693eb6600d3d28d13d8a19f38e94675725 (patch) | |
tree | 9858ed11b32ebdf3c7a17e21dd9b438c0a08f2d8 /demo.c | |
parent | 447a3e7ab924c492214f1bbd2f25b61022e30bbc (diff) | |
download | termo-427a98693eb6600d3d28d13d8a19f38e94675725.tar.gz termo-427a98693eb6600d3d28d13d8a19f38e94675725.tar.xz termo-427a98693eb6600d3d28d13d8a19f38e94675725.zip |
optarg and friends want _XOPEN_SOURCE 600, and <unistd.h> - Petr Pavlu
Diffstat (limited to 'demo.c')
-rw-r--r-- | demo.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ +// we want optarg +#define _XOPEN_SOURCE 600 + #include <stdio.h> -#include <getopt.h> +#include <unistd.h> #include <errno.h> #include "termkey.h" |