]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/usage.c
opt: fix Solaris compile.
[ccan] / ccan / opt / usage.c
index d9b2ee59cc3e4ba9a10df5a5eb358a74b5b4fb89..7c1971c2e48ed919db13625c027ffcfc328c8f6c 100644 (file)
@@ -1,6 +1,8 @@
 /* Licensed under GPLv3+ - see LICENSE file for details */
 #include <ccan/opt/opt.h>
 #include <sys/ioctl.h>
+#include <sys/termios.h> /* Required on Solaris for struct winsize */
+#include <sys/unistd.h> /* Required on Solaris for ioctl */
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>