summaryrefslogtreecommitdiff
path: root/hw/xquartz/pbproxy/main.m
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/pbproxy/main.m')
-rw-r--r--hw/xquartz/pbproxy/main.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/xquartz/pbproxy/main.m b/hw/xquartz/pbproxy/main.m
index 6d4907056..9bf19f0a2 100644
--- a/hw/xquartz/pbproxy/main.m
+++ b/hw/xquartz/pbproxy/main.m
@@ -7,6 +7,7 @@
#import "x-selection.h"
#include <pthread.h>
+#include <unistd.h> /*for getpid*/
#include <X11/extensions/applewm.h>
#include <HIServices/CoreDockServices.h>
@@ -130,9 +131,7 @@ static void signal_handler (int sig) {
}
int main (int argc, const char *argv[]) {
- NSAutoreleasePool *pool;
-
- pool = [[NSAutoreleasePool alloc] init];
+ printf("pid: %u\n", getpid());
x_init ();