From 9fb0b77d89d1d3d81b64e3c950daf09cf8d81cdd Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sat, 3 Mar 2018 13:10:21 -0700
Subject: [PATCH] Include sys/types in fctnl and unistd

---
 fcntl/cbindgen.toml  | 1 +
 unistd/cbindgen.toml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/fcntl/cbindgen.toml b/fcntl/cbindgen.toml
index 41932068..948863cd 100644
--- a/fcntl/cbindgen.toml
+++ b/fcntl/cbindgen.toml
@@ -1,3 +1,4 @@
+sys_includes = ["sys/types.h"]
 include_guard = "_FCNTL_H"
 language = "C"
 
diff --git a/unistd/cbindgen.toml b/unistd/cbindgen.toml
index 32fdb822..259e4fad 100644
--- a/unistd/cbindgen.toml
+++ b/unistd/cbindgen.toml
@@ -1,3 +1,4 @@
+sys_includes = ["stdint.h", "sys/types.h"]
 include_guard = "_UNISTD_H"
 language = "C"
 
-- 
GitLab