From 0bcde2a65614c42ae6ffa522c010a9cc7196ef98 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Tue, 10 Apr 2012 11:48:24 +0200 Subject: [PATCH] Clean compile on Mac OS X Changes by Neil Pennell https://github.com/OpenNebula/one/pull/2 (cherry picked from commit 2803d7e964c1a1c2f6c89639cefaca90e3748c37) --- src/mad/utils/tty_expect.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mad/utils/tty_expect.c b/src/mad/utils/tty_expect.c index 81ad4928f9..6085279d77 100644 --- a/src/mad/utils/tty_expect.c +++ b/src/mad/utils/tty_expect.c @@ -14,7 +14,11 @@ /* limitations under the License. */ /* -------------------------------------------------------------------------- */ +#ifdef __APPLE__ +#include +#else #include +#endif #include #include