summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2020-09-12 15:54:48 +0100
committerrofl0r <rofl0r@users.noreply.github.com>2020-09-12 15:56:36 +0100
commitdf9074db6e68fbf7847fab0bc33b3a3c9a94620d (patch)
tree97c545de2cdef7e0810cf02482a45d5802800406
parent9e40f8311fc4f6b3238cd4fc47977cc49adc5481 (diff)
vector.h: missing include <unistd.h> for ssize_t
-rw-r--r--src/vector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vector.h b/src/vector.h
index ef8f953..45a78d4 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -21,6 +21,8 @@
#ifndef _VECTOR_H
#define _VECTOR_H
+#include <unistd.h>
+
/*
* We're using a typedef here to "hide" the implementation details of the
* vector. Sure, it's a pointer, but the struct is hidden in the C file.