summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-11 19:38:41 +0000
committerDavid Robillard <d@drobilla.net>2011-11-11 19:38:41 +0000
commitd2388d3aad0f7cc591be1df5a31877cf23bdaf15 (patch)
treeb2beb70ef1c64872793945b47170b804d81c0139 /test
parentf40f6f9104fb7361064e68ed5aa304a3672d405f (diff)
downloadlilv-d2388d3aad0f7cc591be1df5a31877cf23bdaf15.tar.gz
lilv-d2388d3aad0f7cc591be1df5a31877cf23bdaf15.tar.bz2
lilv-d2388d3aad0f7cc591be1df5a31877cf23bdaf15.zip
Add feature test macro required for setenv.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3609 a436a847-0d15-0410-975c-d299462d15a1
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>