[geany/geany-plugins] 08d57c: scope, debugger: use util.h instead of pty.h on OS X

Jiří Techet git-noreply at xxxxx
Thu Jan 29 23:19:22 UTC 2015


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Mon, 29 Dec 2014 14:40:33 UTC
Commit:      08d57cbbd1dfe5e5354b864e52b4bc2bfb02c4f2
             https://github.com/geany/geany-plugins/commit/08d57cbbd1dfe5e5354b864e52b4bc2bfb02c4f2

Log Message:
-----------
scope, debugger: use util.h instead of pty.h on OS X


Modified Paths:
--------------
    debugger/src/debug.c
    scope/src/conterm.c

Modified: debugger/src/debug.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -37,7 +37,11 @@ int grantpt(int fd);
 
 #include <string.h>
 #include <unistd.h>
+#ifdef __APPLE__
+#include <util.h>
+#else
 #include <pty.h>
+#endif
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 #include <vte/vte.h>


Modified: scope/src/conterm.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -30,7 +30,11 @@
 #ifdef G_OS_UNIX
 #include <vte/vte.h>
 /* instead of detecting N kinds of *nix */
+#ifdef __APPLE__
+#include <util.h>
+#else
 #include <pty.h>
+#endif
 int grantpt(int fd);
 int unlockpt(int fd);
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list