It's better to test for __hpux rather than __hppa, and hpux or hppa is
unnecessary.  Sez edg@SF
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index d0de191..2757103 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -703,7 +703,7 @@
 
 #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