From 754891d3b9c41a6d0f38c638c261691a3fe2b36e Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 27 Mar 2012 14:30:29 +1030 Subject: [PATCH] opt: fix Solaris compile. Need sys/termios.h for struct winsize. --- ccan/opt/usage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ccan/opt/usage.c b/ccan/opt/usage.c index d9b2ee59..7c1971c2 100644 --- a/ccan/opt/usage.c +++ b/ccan/opt/usage.c @@ -1,6 +1,8 @@ /* Licensed under GPLv3+ - see LICENSE file for details */ #include #include +#include /* Required on Solaris for struct winsize */ +#include /* Required on Solaris for ioctl */ #include #include #include -- 2.39.2