projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a5547
)
u8-istream: Include <limits.h> for definition of MB_LEN_MAX.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 9 Apr 2011 16:25:59 +0000
(09:25 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 9 Apr 2011 16:25:59 +0000
(09:25 -0700)
Problem reported by Harry Thijssen <pspp@sjpaes.nl>.
Fix suggested by John Darrington <john@darrington.wattle.id.au>.
src/libpspp/u8-istream.c
patch
|
blob
|
history
diff --git
a/src/libpspp/u8-istream.c
b/src/libpspp/u8-istream.c
index 6d4d7707de628afdec78cf9c0b07e325b5b89307..9318d59eefcedb9a7de50d1dbbab162480a7e069 100644
(file)
--- a/
src/libpspp/u8-istream.c
+++ b/
src/libpspp/u8-istream.c
@@
-22,6
+22,7
@@
#include <errno.h>
#include <fcntl.h>
#include <iconv.h>
+#include <limits.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>