From e02341bffebb8d46bb5b45be846964f3772c30b0 Mon Sep 17 00:00:00 2001 From: Unbit Date: Fri, 23 Aug 2013 16:21:40 +0200 Subject: [PATCH] include pty.h only on linux --- plugins/pty/pty.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/pty/pty.c b/plugins/pty/pty.c index 2ce522dc..28177a72 100644 --- a/plugins/pty/pty.c +++ b/plugins/pty/pty.c @@ -1,5 +1,7 @@ #include +#ifdef __linux__ #include +#endif #include extern struct uwsgi_server uwsgi;