summaryrefslogtreecommitdiff
path: root/graphics/libkdcraw-kde3/patches/patch-libkdcraw_libraw_src_libraw__cxx.cpp
blob: 7893d183e73a0c9d341e934395a4a00cc446035c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-libkdcraw_libraw_src_libraw__cxx.cpp,v 1.1 2014/01/09 21:56:53 jperkin Exp $

SunOS bzero() needs strings.h

--- libkdcraw/libraw/src/libraw_cxx.cpp.orig	2009-05-10 11:25:49.000000000 +0000
+++ libkdcraw/libraw/src/libraw_cxx.cpp
@@ -9,6 +9,9 @@
 #include <errno.h>
 #include <float.h>
 #include <math.h>
+#ifdef __sun
+#include <strings.h>
+#endif
 #ifndef WIN32
 #include <netinet/in.h>
 #else