summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Figuiere <hub@figuiere.net>2008-10-27 12:21:21 -0400
committerHubert Figuiere <hub@figuiere.net>2008-10-27 12:21:21 -0400
commit094f5a3423ffd2b7d285067e530a1888b3e9b51c (patch)
treef4101c7bc2a47bb6b09d32ffeb10a7c52499bca9
parent51c89f643688582438573fc7ff3044f3db21ead1 (diff)
* lib/ljpegdecompressor.cpp: Add needed includes
for some exotic platforms. Closes bug #18243
-rw-r--r--ChangeLog6
-rw-r--r--NEWS3
-rw-r--r--lib/ljpegdecompressor.cpp3
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3260c24..8375204 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-27 Hubert Figuiere <hub@figuiere.net>
+
+ * lib/ljpegdecompressor.cpp: Add needed includes
+ for some exotic platforms.
+ Closes bug #18243
+
2008-08-26 Hubert Figuiere <hfiguiere@novell.com>
* demo/pixbufload.c:
diff --git a/NEWS b/NEWS
index bfb5500..9e9fdfb 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,8 @@ libopenraw 0.0.6
- LICENSE change to LGPLv3+
- BUG: cfa output should write the data in PGM as big endian.
- - BUG: missing include in demo/cfa.cpp breaking on gcc 4.3
+ - BUG: added missing includes breaking on gcc 4.3 and other platforms.
+ (Closes bug #18243).
- BUG: better handling of Canon CR2 "slices" to fix crasher
with Canon 450D/Digital Rebel XSi files (and possibly others).
- NEW: API or_rawfile_new_from_memory() to load a Raw file from
diff --git a/lib/ljpegdecompressor.cpp b/lib/ljpegdecompressor.cpp
index 5b0969f..7317bd1 100644
--- a/lib/ljpegdecompressor.cpp
+++ b/lib/ljpegdecompressor.cpp
@@ -51,6 +51,9 @@
*/
+#include <stdlib.h>
+#include <string.h>
+
#include <boost/scoped_ptr.hpp>
#include <boost/scoped_array.hpp>
#include <boost/format.hpp>