summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2009-04-14 13:19:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2009-04-14 13:19:00 (GMT)
commit3a95ee66a0e06dcec83db64035d0d1e964d433cc (patch)
tree61a1d9b7dae9390ace2b2a7664bb728a5cc5d227 /src/H5private.h
parent0eacb97a155bb4877e231b41b5f6882cfc0d1a06 (diff)
downloadhdf5-3a95ee66a0e06dcec83db64035d0d1e964d433cc.zip
hdf5-3a95ee66a0e06dcec83db64035d0d1e964d433cc.tar.gz
hdf5-3a95ee66a0e06dcec83db64035d0d1e964d433cc.tar.bz2
[svn-r16742] Added #include <direct.h> to windows section. As discussed in Bug 1536, this include is needed to supply the _getcwd() function.
Tested: XP 32 VS2005
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 695b015..d392548 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -144,6 +144,7 @@
#define VC_EXTRALEAN /*Exclude rarely-used stuff from Windows headers */
#include <windows.h>
+#include <direct.h> /* For _getcwd() */
#endif /*_WIN32*/