diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index d0de19128af..27571033d2a 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -703,7 +703,7 @@ posix_fsync(PyObject *self, PyObject *args) #ifdef HAVE_FDATASYNC -#if defined(__hppa) || defined(hppa) +#ifdef __hpux extern int fdatasync(int); /* On HP-UX, in libc but not in unistd.h */ #endif