diff --git a/dtool/src/dtoolutil/filename.cxx b/dtool/src/dtoolutil/filename.cxx index b2ced9d25a..05f813eeba 100644 --- a/dtool/src/dtoolutil/filename.cxx +++ b/dtool/src/dtoolutil/filename.cxx @@ -24,7 +24,7 @@ #include #include -#ifdef HAVE_UTIME_H +#ifdef PHAVE_UTIME_H #include // We assume we have these too. @@ -32,20 +32,20 @@ #include #endif -#ifdef HAVE_GLOB_H +#ifdef PHAVE_GLOB_H #include #ifndef GLOB_NOMATCH #define GLOB_NOMATCH -3 #endif #endif -#ifdef HAVE_DIRENT_H +#ifdef PHAVE_DIRENT_H #include #endif // It's true that dtoolbase.h includes this already, but we include // this again in case we are building this file within ppremake. -#ifdef HAVE_UNISTD_H +#ifdef PHAVE_UNISTD_H #include #endif