pkgsrc-wip/vncselector/patches/patch-aa
David Howland df727e991f VncSelector allows a user to manage his/her list of currently active VNC server
sessions. This can be useful in a thin client situation.
2006-08-01 04:13:41 +00:00

32 lines
664 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2006/08/01 04:13:41 dhowland Exp $
--- src/VncSelector.cxx.orig 2004-09-23 04:37:35.000000000 -0400
+++ src/VncSelector.cxx
@@ -29,6 +29,7 @@
#include <stdio.h>
#include <string.h>
#include <memory.h>
+#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/stat.h>
#include <unistd.h>
@@ -42,7 +43,6 @@
#include <FL/Fl_Image.H>
#include <dirent.h>
-#include <sys/types.h>
#include <sys/wait.h>
// STL
@@ -56,6 +56,11 @@
#include "VncOptions.h"
#include "VncAddDialogUI.h"
+#define __environ environ
+#ifndef HAVE_ENVIRON_DECL
+extern char **environ;
+#endif
+
VncSelector* VncSelector::m_instance = NULL;