pkgsrc/comms/xisp/patches/patch-ac
2012-02-17 13:49:47 +00:00

13 lines
501 B
Text

$NetBSD: patch-ac,v 1.6 2012/02/17 13:49:48 hans Exp $
--- xispid.c.orig 2005-11-07 00:38:22.000000000 +0000
+++ xispid.c
@@ -42,7 +42,7 @@
#include <limits.h>
#endif
-#if !defined(__FreeBSD__) && !defined(linux) /* setgrent() is int in FreeBSD */
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(linux) && !defined(__sun) /* setgrent() is int in FreeBSD */
struct passwd *getpwuid();
struct group *getgrgid(), *getgrent();
uid_t getuid(), geteuid();