[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#639490: ladish: fixed patch for kfreebsd



Package: src:ladish
Version: 0.3-8
Severity: important
X-Debbugs-Cc: debian-bsd@lists.debian.org
Tags: patch

Hi!

  I noticed you added a patch intended to fix building on
kfreebsd. However it needs a minor correction. Updated patch
below.

--- ladish.orig/alsapid/helper.c
+++ ladish/alsapid/helper.c
@@ -31,7 +31,11 @@
 #include <stdlib.h>             /* atoll */
 #include <unistd.h>
 #include <sys/types.h>
+#ifdef __linux__
 #include <linux/limits.h>
+#else
+#include <sys/syslimits.h>
+#endif
 
 #include "alsapid.h"
 
--- ladish.orig/alsapid/lib.c
+++ ladish/alsapid/lib.c
@@ -28,7 +28,11 @@
 
 #include <alsa/asoundlib.h>
 #include <dlfcn.h>
+#ifdef __linux__
 #include <linux/limits.h>
+#else
+#include <sys/syslimits.h>
+#endif
 #include <stdio.h>
 
 #include "alsapid.h"

Regards

    Christoph

If you have further questions please mail debian-bsd@lists.debian.org

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



Reply to: