summaryrefslogtreecommitdiff
path: root/PC/getpathp.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-06-10 12:23:46 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-06-10 12:23:46 +0000
commit0e8bd7e1ccf7f47bc0bb920af899c77669016d3d (patch)
treea2724cb3463072f259b31175662d9a03ed02b4c3 /PC/getpathp.c
parentacd0d6d4160c6b7f12d80807a4312f6f57338b4d (diff)
downloadcpython-git-0e8bd7e1ccf7f47bc0bb920af899c77669016d3d.tar.gz
Patch #1495999: Part two of Windows CE changes.
- update header checks, using autoconf - provide dummies for getenv, environ, and GetVersion - adjust MSC_VER check in socketmodule.c
Diffstat (limited to 'PC/getpathp.c')
-rw-r--r--PC/getpathp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index 37a9c0b990..2bd3f2653f 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -62,8 +62,14 @@
#include <tchar.h>
#endif
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif /* HAVE_SYS_TYPES_H */
+
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
+#endif /* HAVE_SYS_STAT_H */
+
#include <string.h>
/* Search in some common locations for the associated Python libraries.