Commit Diff


commit - 400e716eb939043fdc78e8bdbd0973dabcbb07cf
commit + 1b2dedff6127800c1ef287be60c5b3a4612a3c44
blob - 873d24a66c0525e5995079a57813ac30f2b4cd30
blob + 9717fc7faffb1106359f3eec7ef28e588f78a06d
--- got/got.c
+++ got/got.c
@@ -17,6 +17,7 @@
  */
 
 #include <sys/queue.h>
+#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
blob - bc70d6e4c965944e0d8b57034fff72768b109ac1
blob + b005c2c948e0b4b35147550b1b23fef240ddf8b4
--- include/got_date.h
+++ include/got_date.h
@@ -14,8 +14,5 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#include <sys/time.h>
-#include <sys/types.h>
-
 void
 got_date_format_gmtoff(char *, size_t, time_t);
blob - 815b291ce868d18136ce8f45fa2f890b6f6c08f9
blob + 35bd1b35694616d86b9851eff029400e6793e161
--- lib/date.c
+++ lib/date.c
@@ -14,6 +14,9 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <sys/time.h>
+#include <sys/types.h>
+
 #include <stdio.h>
 
 #include "got_date.h"
blob - bbdfb381160453fb6cdcae5a97db2425cc3b4f3f
blob + 693a3a2716dba8360cbdcbc1f95fd2278b9b3e40
--- lib/sigs.c
+++ lib/sigs.c
@@ -14,6 +14,7 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include <sys/time.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/socket.h>