summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-08 20:54:24 +0200
committerBert <ber.t@gmx.com>2011-09-08 20:54:24 +0200
commit6e575b0f721e1743fab098004d7dc26de5c7db49 (patch)
treef3fc170b48a92920fd2fae9b1c0e4302736f85ca /options.c
parent3a4f3862a7eccc4505f81582f62397c3651dc87f (diff)
downloadnsxiv-6e575b0f721e1743fab098004d7dc26de5c7db49.tar.zst
Strict conformance to IEEE Std 1003.1-2001
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.c b/options.c
index 9887a96..853a72f 100644
--- a/options.c
+++ b/options.c
@@ -16,12 +16,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#define _POSIX_C_SOURCE 2 /* for getopt(3) */
-#include <unistd.h>
+#define _POSIX_C_SOURCE 200112L
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <unistd.h>
#include "options.h"
#include "util.h"