Permalink
Browse files

Don't include <sys/stropts.h> if building for OS X.

  • Loading branch information...
Philippe Bernard
Philippe Bernard committed Aug 2, 2013
1 parent 48b1ba2 commit b429ca9304193b38a8fffe8a26a4778d28c972af
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 b429ca9

Please sign in to comment.