diff options
author | dholland <dholland@pkgsrc.org> | 2012-04-13 05:51:44 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-04-13 05:51:44 +0000 |
commit | 544dc12ebfcb88c7d323c36bc9272d01190b19dc (patch) | |
tree | c73f5ab15787f75ad0de676b799a96fe8dfde1e7 /lang/spl/patches | |
parent | da424af4d1b055e414863438d8521c87f9055f39 (diff) | |
download | pkgsrc-544dc12ebfcb88c7d323c36bc9272d01190b19dc.tar.gz |
Use correct header for PATH_MAX; fixes Linux build.
Diffstat (limited to 'lang/spl/patches')
-rw-r--r-- | lang/spl/patches/patch-webspld_c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/spl/patches/patch-webspld_c b/lang/spl/patches/patch-webspld_c new file mode 100644 index 00000000000..b20241e8c39 --- /dev/null +++ b/lang/spl/patches/patch-webspld_c @@ -0,0 +1,19 @@ +$NetBSD: patch-webspld_c,v 1.1 2012/04/13 05:51:44 dholland Exp $ + +Use standard headers. + +--- webspld.c~ 2006-10-22 11:08:09.000000000 +0000 ++++ webspld.c +@@ -34,11 +34,7 @@ + #include <errno.h> + #include <signal.h> + #include <fcntl.h> +- +-#ifdef USEBSDAPI +-//that's for PATH_MAX +-#include <sys/syslimits.h> +-#endif ++#include <limits.h> + + #ifdef ENABLE_PTHREAD_SUPPORT + # include <pthread.h> |