about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/HISTORY3
-rw-r--r--pm_config.in.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index 5929e85e..c62f64df 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -6,6 +6,9 @@ CHANGE HISTORY
 
 not yet  BJH  Release 10.37.0
 
+              libnetpbm: Fix crash due to inconsistent definition of
+              pm_filepos.  Affects xxx_check of pgm images.
+
               pnmshear: add -background.  Thanks Erik Auerswald
               <auerswal@unix-ag.uni-kl.de>.
 
diff --git a/pm_config.in.h b/pm_config.in.h
index 41546c52..25551815 100644
--- a/pm_config.in.h
+++ b/pm_config.in.h
@@ -236,6 +236,7 @@ typedef int32_t int32n;
 # endif
 #endif
 
+#include <unistd.h>  /* Get _LFS_LARGEFILE defined */
 #include <sys/types.h>
 /* In GNU, _LFS_LARGEFILE means the "off_t" functions (ftello, etc.) are
    available.  In AIX, _AIXVERSION_430 means it's AIX Version 4.3.0 or