libraw/libraw-gcc47.patch

13 lines
402 B
Diff
Raw Normal View History

Index: LibRaw-0.13.5/samples/dcraw_emu.cpp
===================================================================
--- LibRaw-0.13.5.orig/samples/dcraw_emu.cpp
+++ LibRaw-0.13.5/samples/dcraw_emu.cpp
@@ -27,6 +27,7 @@ it under the terms of the one of three l
#endif
#include <stdio.h>
+#include <unistd.h> // For getpagesize, read and close
#include <string.h>
#include <stdlib.h>
#include <math.h>