]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
utils.h: add a missing include
authorunicycle2 <github@unicycle.net>
Thu, 15 Jun 2017 09:22:05 +0000 (11:22 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 15 Jun 2017 09:42:54 +0000 (11:42 +0200)
This tiny addition was needed to be able to install on FreeBSD.
Close https://github.com/CZ-NIC/knot-resolver/pull/44

lib/utils.h

index 2f037c26ddb9c1cd6e3753b73a69ab39de4a7385..156e8982b9efe703400285f4fc2a01a6e219949d 100644 (file)
@@ -19,6 +19,7 @@
 #include <assert.h>
 #include <stdio.h>
 #include <stdbool.h>
+#include <sys/socket.h>
 #include <sys/time.h>
 #include <netinet/in.h>
 #include <libknot/libknot.h>