X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=eglib%2Ftest%2Fspawn.c;h=ec30fc8641e0ae08a3b1ee73b5e194b96264788c;hb=839bed6b854902ed08ddc21cab41a0b0d7fe21a7;hp=cfeeabbd222b38207c53addda66a3b3099765ec4;hpb=1c14f1ee6d701510c15499d71fc2b324151a8629;p=mono.git diff --git a/eglib/test/spawn.c b/eglib/test/spawn.c index cfeeabbd222..ec30fc8641e 100644 --- a/eglib/test/spawn.c +++ b/eglib/test/spawn.c @@ -1,9 +1,18 @@ +#include #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include "test.h" +#ifdef G_OS_WIN32 +#include +#define read _read +#define close _close +#endif + RESULT test_spawn_sync () { @@ -70,3 +79,4 @@ static Test spawn_tests [] = { DEFINE_TEST_GROUP_INIT(spawn_tests_init, spawn_tests) +