summaryrefslogtreecommitdiff
path: root/devel/anjuta/patches/patch-an
blob: b31ffc380d00aff8fa167f65aef627071f306a21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-an,v 1.3 2005/08/01 14:14:49 adam Exp $

--- src/launcher.c.orig	2004-04-08 06:15:31.000000000 +0200
+++ src/launcher.c
@@ -23,7 +23,9 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <signal.h>
+#ifdef HAVE_PTY_H
 //#include <pty.h>
+#endif
 #include <assert.h>
 #include <gnome.h>
 #include <termios.h>
@@ -37,6 +39,10 @@
 #include "anjuta-marshalers.h"
 #include "anjuta.h"
 
+#ifndef __MAX_BAUD
+#define __MAX_BAUD B230400
+#endif
+
 #define FILE_BUFFER_SIZE 1024
 /*
 static gboolean