diff options
author | Carlo Bramini <carlo.bramix@libero.it> | 2012-06-05 12:10:49 +0300 |
---|---|---|
committer | Carlo Bramini <carlo.bramix@libero.it> | 2012-06-05 12:10:49 +0300 |
commit | 7b4ba1fcb3772f8998813b1a76a0ef964fa69538 (patch) | |
tree | 84c71ac0704274da4810d80edb9c4a03c63251ac | |
parent | 70d56fc1262d7e2f47677a2501d220b5d1a6e74f (diff) | |
download | xine-lib-7b4ba1fcb3772f8998813b1a76a0ef964fa69538.tar.gz xine-lib-7b4ba1fcb3772f8998813b1a76a0ef964fa69538.tar.bz2 |
Fix building with cygwin
CYGWIN is a full POSIX environment, it does not need to include windows.h (it
even causes an error if you try).
-rw-r--r-- | src/xine-utils/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-utils/utils.c b/src/xine-utils/utils.c index 82cf5c0d4..4a8dd4bff 100644 --- a/src/xine-utils/utils.c +++ b/src/xine-utils/utils.c @@ -42,6 +42,7 @@ #include <time.h> #include <unistd.h> #include <fcntl.h> +#include <ctype.h> #if HAVE_EXECINFO_H #include <execinfo.h> @@ -55,8 +56,7 @@ #include <langinfo.h> #endif -#if defined(__CYGWIN__) || defined(WIN32) -#include <ctype.h> +#if defined(WIN32) #include <windows.h> #endif |