pkgsrc/news/nntpcache/patches/patch-ae
2006-10-17 20:28:01 +00:00

15 lines
496 B
Text

$NetBSD: patch-ae,v 1.1 2006/10/17 20:28:01 schwarz Exp $
--- libproff/setproctitle.c.orig 2006-10-17 21:32:47.000000000 +0200
+++ libproff/setproctitle.c 2006-10-17 21:33:19.000000000 +0200
@@ -239,7 +239,9 @@
# endif
# if SPT_TYPE == SPT_PSSTRINGS
# include <machine/vmparam.h>
-# include <sys/exec.h>
+# ifndef __APPLE__
+# include <sys/exec.h>
+# endif
# ifndef PS_STRINGS /* hmmmm.... apparently not available after all */
# undef SPT_TYPE
# define SPT_TYPE SPT_REUSEARGV