diff -ru ../dist/src/gpmisc.c ./src/gpmisc.c
--- ../dist/src/gpmisc.c	2007-06-06 00:23:38.000000000 +0200
+++ ./src/gpmisc.c	2007-09-03 15:55:01.000000000 +0200
@@ -93,11 +93,7 @@
      * fdopen as (char *), rather than following the POSIX.1 standard,
      * which defines it as (const char *).  Patch this here.
      */
-#if defined (O_LARGEFILE)
-    file = (b64 ? fdopen64 : fdopen)(fildes, (char *)mode); /* still really const */
-#else
     file = fdopen(fildes, (char *)mode); /* still really const */
-#endif
     if (file == 0)
 	close(fildes);
     return file;
