diff options
author | Michael Cronenworth <mike@cchtml.com> | 2014-09-12 20:48:39 -0500 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-09-18 09:50:52 +0200 |
commit | c41e0e1d9a4a9a4533bc6f370e5eebe1d6b9752c (patch) | |
tree | 82b74b2cee32dba03ce244546a4790a52f21259f | |
parent | eeca6f88e1c59543b09df3f9a45224e32d531ef7 (diff) |
common: Move unistd include to define getopt and friends
Needed to fix MinGW builds.
Signed-off-by: Michael Cronenworth <mike@cchtml.com>
-rw-r--r-- | common/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/test.c b/common/test.c index c619b7d..289b35b 100644 --- a/common/test.c +++ b/common/test.c @@ -49,11 +49,11 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <unistd.h> #ifdef OS_UNIX #include <sys/stat.h> #include <sys/wait.h> -#include <unistd.h> #endif enum { |