Adrian Schröter
0bbb62e01c
Fix build with gcc 4.7 - Please work with upstream to resolve it in upstream code base. There is also a chance that a newer version of the package might have this fixed already. OBS-URL: https://build.opensuse.org/request/show/109341 OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=53
13 lines
402 B
Diff
13 lines
402 B
Diff
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>
|