Permalink
Browse files

Merge pull request #1 from phjbernard/osx-10.8-build

Don't include <sys/stropts.h> if building for OS X.
  • Loading branch information...
sjbach committed Aug 2, 2013
2 parents 48b1ba2 + b429ca9 commit 2097b440ef0152799736de8d4f7a1355b4d2ad1c
Showing with 1 addition and 1 deletion.
  1. +1 −1 vgseer/ptytty.c
View
@@ -59,7 +59,7 @@
#ifdef HAVE_SYS_IOCTL_H
# include <sys/ioctl.h>
#endif
-#if defined(PTYS_ARE_PTMX) && !defined(__CYGWIN32__)
+#if defined(PTYS_ARE_PTMX) && !(defined(__CYGWIN32__) || defined(__APPLE__))
# include <sys/stropts.h> /* for I_PUSH */
#endif

0 comments on commit 2097b44

Please sign in to comment.