pkgsrc/sysutils/libgksu/patches/patch-aa
2012-11-23 11:40:15 +00:00

18 lines
400 B
Text

$NetBSD: patch-aa,v 1.2 2012/11/23 11:40:15 joerg Exp $
--- libgksu/libgksu.c.orig 2012-11-22 20:56:53.000000000 +0000
+++ libgksu/libgksu.c
@@ -23,7 +23,13 @@
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
+#include <termios.h>
+#ifdef __linux__
#include <pty.h>
+#endif
+#ifdef __NetBSD__
+#include <util.h>
+#endif
#include <pwd.h>
#include <sys/types.h>
#include <sys/wait.h>