commit: 84bbfe98f60048465c733f1723588794b996fcdd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 25 16:19:58 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 25 16:27:13 2025 +0000
URL: https://gitweb.gentoo.org/proj/steve.git/commit/?id=84bbfe98
Add missing includes
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
src/steve.h | 1 +
src/stevie.cxx | 1 +
src/util.hxx | 3 +++
3 files changed, 5 insertions(+)
diff --git a/src/steve.h b/src/steve.h
index f1a2666..4d10cc2 100644
--- a/src/steve.h
+++ b/src/steve.h
@@ -8,6 +8,7 @@
#ifndef STEVE_H
#define STEVE_H 1
+#include <stdint.h>
#include <sys/ioctl.h>
/* get number of currently available tokens */
diff --git a/src/stevie.cxx b/src/stevie.cxx
index b8b3403..2fadf8f 100644
--- a/src/stevie.cxx
+++ b/src/stevie.cxx
@@ -9,6 +9,7 @@
#include <cassert>
#include <cerrno>
+#include <climits>
#include <cstring>
#include <print>
#include <utility>
diff --git a/src/util.hxx b/src/util.hxx
index 87ab29a..66f28ed 100644
--- a/src/util.hxx
+++ b/src/util.hxx
@@ -4,6 +4,9 @@
*/
#include <climits>
+#include <cstdlib>
+
+#include <unistd.h>
struct fd_guard {
int fd;