summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2009-04-14 13:19:58 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2009-04-14 13:19:58 (GMT)
commit75c3059f54b3ffe3cc024901e5548d2954c861f8 (patch)
tree8727a9b7b36ccfed8c49bedc3b4e2cf5c94c1555 /src/H5private.h
parente10dca69da31aabeef8f09bef076ff0ecb98633d (diff)
downloadhdf5-75c3059f54b3ffe3cc024901e5548d2954c861f8.zip
hdf5-75c3059f54b3ffe3cc024901e5548d2954c861f8.tar.gz
hdf5-75c3059f54b3ffe3cc024901e5548d2954c861f8.tar.bz2
[svn-r16743] 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 f26f930..27a8f65 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*/