2013-01-01 00:36:47 +01:00
|
|
|
$NetBSD: patch-vinagre_pty__open.c,v 1.2 2012/12/31 23:36:47 ryoon Exp $
|
2012-11-30 17:02:32 +01:00
|
|
|
|
|
|
|
--- vinagre/pty_open.c.orig 2011-12-03 07:23:20.000000000 +0000
|
|
|
|
+++ vinagre/pty_open.c
|
|
|
|
@@ -40,7 +40,7 @@
|
|
|
|
|
|
|
|
/* Originally from vte */
|
|
|
|
|
|
|
|
-#define _XOPEN_SOURCE
|
|
|
|
+#define _XOPEN_SOURCE 600
|
|
|
|
#define _GNU_SOURCE
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
@@ -69,7 +69,7 @@
|
|
|
|
#ifdef HAVE_UTMP_H
|
|
|
|
#include <utmp.h>
|
|
|
|
#endif
|
|
|
|
-#ifdef HAVE_UTIL_H
|
2013-01-01 00:36:47 +01:00
|
|
|
+#if defined(HAVE_LOGIN_TTY) && !defined(__linux)
|
2012-11-30 17:02:32 +01:00
|
|
|
#include <util.h>
|
|
|
|
#endif
|
|
|
|
#include <glib.h>
|