Browse Source

Fix build for systems that do not define unsetenv().

Cyril Roelandt 14 years ago
parent
commit
f08ca1d07c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/errorcheck/starpu_init_noworker.c

+ 1 - 0
tests/errorcheck/starpu_init_noworker.c

@@ -23,6 +23,7 @@
 
 
 #if !(defined(_BSD_SOURCE) || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600)
 #if !(defined(_BSD_SOURCE) || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600)
 #warning unsetenv is not defined. Skipping test
 #warning unsetenv is not defined. Skipping test
+#include "../helper.h"
 int main(int argc, char **argv)
 int main(int argc, char **argv)
 {
 {
 	return STARPU_TEST_SKIPPED;
 	return STARPU_TEST_SKIPPED;