summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lilv_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 808af89..b5746c8 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -15,6 +15,8 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#define _POSIX_C_SOURCE 200112L /* for setenv */
+
#include <unistd.h>
#include <string.h>
#include <stdio.h>