cyrus-sasl/fix-sasl-header.diff
Marcus Meissner 7e72e6b732 Accepting request 201350 from KDE:Distro:Factory
This patch fixes builds that are using sasl.h. Based on internet searches, it seems that also gentoo, fedora and other distro's ran into the same issue. The patch comes from Fedora and resolves at least the build of kdepimlibs4

OBS-URL: https://build.opensuse.org/request/show/201350
OBS-URL: https://build.opensuse.org/package/show/network/cyrus-sasl?expand=0&rev=40
2013-09-29 18:38:14 +00:00

13 lines
379 B
Diff

--- cyrus-sasl-2.1.26/include/sasl.h 2012-10-12 09:05:48.000000000 -0500
+++ cyrus-sasl-2.1.26/include/sasl.h 2013-01-31 13:21:04.007739327 -0600
@@ -223,6 +223,8 @@ extern "C" {
* they must be called before all other SASL functions:
*/
+#include <sys/types.h>
+
/* memory allocation functions which may optionally be replaced:
*/
typedef void *sasl_malloc_t(size_t);