[BUILD] <stdint> is not present on OpenBSD. Prefer <sys/types.h>
diff --git a/include/common/epoll.h b/include/common/epoll.h
index 56eef7e..8b05ece 100644
--- a/include/common/epoll.h
+++ b/include/common/epoll.h
@@ -29,7 +29,7 @@
 #ifndef _COMMON_EPOLL_H
 #define _COMMON_EPOLL_H
 
-#include <stdint.h>
+#include <sys/types.h>
 #include <linux/unistd.h>
 
 #include <common/config.h>
diff --git a/include/types/buffers.h b/include/types/buffers.h
index b96d14b..3e33abf 100644
--- a/include/types/buffers.h
+++ b/include/types/buffers.h
@@ -25,7 +25,8 @@
 #include <common/config.h>
 #include <common/memory.h>
 
-#include <stdint.h>
+#include <sys/time.h>
+#include <sys/types.h>
 
 /* The BF_* macros designate Buffer Flags, which may be ORed in the bit field
  * member 'flags' in struct buffer.