Commit Diff


commit - 206be139b57622a9d9d2fe28a7d2c1eb62109136
commit + 7ef51333b72702bfc0ec3a9ea6ea950ec7cdf7a8
blob - 35d01d7cb84fec0d25eff3ca2fd087969ee5fa32
blob + 7824fa9a867cfb43694e08cb4617069d28d9e5ca
--- include/got_compat2.h
+++ include/got_compat2.h
@@ -17,9 +17,9 @@
 #ifndef _GOT_COMPAT_H_2
 #define _GOT_COMPAT_H_2
 
-#include <sys/types.h>
-#include <sys/ioctl.h>
+#include <limits.h>
 #include <sys/uio.h>
+
 #if defined(__FreeBSD__)
 #include <sys/endian.h>
 #include <sys/capsicum.h>
@@ -52,14 +52,9 @@
 #else /* Linux, etc... */
 #include <endian.h>
 #include <grp.h>
+#include <stdlib.h>
 #endif
 
-#include <fnmatch.h>
-#include <limits.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <stdint.h>
-
 #ifndef __GNUC__
 #define __attribute__(a)
 #endif