openbsd-ports/misc/mc/patches/patch-src_subshell_c
2012-04-13 13:42:21 +00:00

15 lines
380 B
Plaintext

$OpenBSD: patch-src_subshell_c,v 1.6 2012/04/13 13:42:21 robert Exp $
warning: implicit declaration of function `getgrnam'
--- src/subshell.c.orig Mon Mar 19 17:26:29 2012
+++ src/subshell.c Wed Apr 11 08:32:10 2012
@@ -47,6 +47,7 @@
#endif
#include <termios.h>
#include <unistd.h>
+#include <grp.h>
#ifdef HAVE_STROPTS_H
#include <stropts.h> /* For I_PUSH */