about summary refs log tree commit diff
path: root/pm_config.in.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-01-01 23:09:33 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-01-01 23:09:33 +0000
commit223fc0d3425fcb745d7e828a3f24146b386152de (patch)
treeec98b7c5ce5b780456a7eff1adde0dd776f43ae0 /pm_config.in.h
parent984eb9257e2f1f64046a8a1f8c9ae5a5a80e232b (diff)
downloadnetpbm-mirror-223fc0d3425fcb745d7e828a3f24146b386152de.tar.gz
netpbm-mirror-223fc0d3425fcb745d7e828a3f24146b386152de.tar.xz
netpbm-mirror-223fc0d3425fcb745d7e828a3f24146b386152de.zip
Add missing include of <io.h> for Mingw32
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2368 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'pm_config.in.h')
-rw-r--r--pm_config.in.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/pm_config.in.h b/pm_config.in.h
index f88a7652..c64fc093 100644
--- a/pm_config.in.h
+++ b/pm_config.in.h
@@ -137,7 +137,11 @@
 #define HAVE_SETMODE
 #endif
 
-/* #define HAVE_SETMODE */
+#if MSVCRT || defined(__CYGWIN__) || defined(DJGPP)
+#define HAVE_IO_H 1
+#else
+#define HAVE_IO_H 0
+#endif
 
 #if (defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__APPLE__)) || defined(__NetBSD__)
   #define HAVE_VASPRINTF 1