diff --git i/include/git2/sys/transport.h w/include/git2/sys/transport.h
index 96a35d08c..370ca45d5 100644
--- i/include/git2/sys/transport.h
+++ w/include/git2/sys/transport.h
@@ -9,6 +9,7 @@
 #define INCLUDE_sys_git_transport_h
 
 #include "git2/net.h"
+#include "git2/oidarray.h"
 #include "git2/proxy.h"
 #include "git2/remote.h"
 #include "git2/strarray.h"
