Return to patch-src_line__printer.cc CVS log | Up to [cvs.NetBSD.org] / pkgsrc / devel / ninja-build / patches |
File: [cvs.NetBSD.org] / pkgsrc / devel / ninja-build / patches / Attic / patch-src_line__printer.cc (download)
Revision 1.1, Tue Sep 16 08:44:25 2014 UTC (9 years, 7 months ago) by jperkin
Fix build on SunOS (needs sys/termios.h). |
$NetBSD: patch-src_line__printer.cc,v 1.1 2014/09/16 08:44:25 jperkin Exp $ SunOS needs sys/termios.h --- src/line_printer.cc.orig 2014-06-27 23:37:05.000000000 +0000 +++ src/line_printer.cc @@ -21,6 +21,9 @@ #else #include <unistd.h> #include <sys/ioctl.h> +#ifdef __sun +#include <sys/termios.h> +#endif #include <sys/time.h> #endif