summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-08-01 15:59:04 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-08-01 16:02:26 -0400
commitc03316834dcef8a3b7ebf489dbbb9409a7990eab (patch)
tree0bcdcecd61f152adb07aeeb336ff27fb9b9cabc1
parent9bf0b2b169ead7f56e6d1313ff7e88441a78da58 (diff)
downloadbfs-c03316834dcef8a3b7ebf489dbbb9409a7990eab.tar.xz
bar: #include <unistd.h> for ioctl() on Illumos
-rw-r--r--src/bar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bar.c b/src/bar.c
index d1fd6c1..aae558f 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -17,6 +17,7 @@
#include <string.h>
#include <sys/ioctl.h>
#include <termios.h>
+#include <unistd.h>
struct bfs_bar {
int fd;