Fix implicit function declarations

This commit is contained in:
Peter Colberg 2015-10-30 15:22:09 -04:00
parent 548497a398
commit 6acc41dfe9

View File

@ -1,5 +1,13 @@
/* Common functions and includes for our test programs. */ /* Common functions and includes for our test programs. */
/*
* Set feature macro to enable getline() and wcwidth().
*
* Please refer to section 2.2.1 of POSIX.1-2008:
* http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02_01_02
*/
#define _XOPEN_SOURCE 700
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>