]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- include sys/time.h for new shm code on OpenBSD.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 24 Feb 2017 15:51:19 +0000 (15:51 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 24 Feb 2017 15:51:19 +0000 (15:51 +0000)
git-svn-id: file:///svn/unbound/trunk@4025 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/shm_side/shm_main.c

index dfe6e7fbbf52defdd23c435f58eb6d8072e45026..3643874667d787e97aaf4fbcd848b97d676aa9eb 100644 (file)
@@ -1,3 +1,6 @@
+24 February 2017: Wouter
+       - include sys/time.h for new shm code on OpenBSD.
+
 23 February 2017: Wouter
        - Fix doc/CNAME-basedRedirectionDesignNotes.pdf zone static to
          redirect.
index b210de4607c10bea68c2d3411ead79b9aec0aefa..337da99f27a79669577111b6c756d80b9d08c76a 100644 (file)
  */
 
 #include "config.h"
-#include "shm_main.h"
 #include <ctype.h>
 #include <stdarg.h>
 #ifdef HAVE_SYS_IPC_H
-#include "sys/ipc.h"
+#include <sys/ipc.h>
 #endif
 #ifdef HAVE_SYS_SHM_H
-#include "sys/shm.h"
+#include <sys/shm.h>
 #endif
-#include "errno.h"
-#include "config.h"
+#include <sys/time.h>
+#include <errno.h>
+#include "shm_main.h"
 #include "daemon/daemon.h"
 #include "daemon/worker.h"
 #include "daemon/stats.h"