Package: e2undel
Version: 0.82-1
Severity: important
Tags: patch
User: [email protected]
Usertags: kfreebsd

Hi,

your package FTBFS on GNU/kFreeBSD because <linux/limits.h> can't be
included. I've conditionalized it, and it seems to build fine. Maybe the
include itself could be removed, but I didn't check on Linux.

Patch attached, thanks for considering.

Mraw,
KiBi.
--- a/file.h
+++ b/file.h
@@ -3,7 +3,9 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#if defined(__linux__)
 #include <linux/limits.h>
+#endif
 #include <unistd.h>
 
 #include "common.h"

Reply via email to