Add netinet/in.h to sock.c - quark - quark web server
(HTM) git clone git://git.suckless.org/quark
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 6770dc06e69f422124d1e9c0efdefa7cc4e98b61
(DIR) parent a20136fa18dba7fd44812be235010a4517aef783
(HTM) Author: Laslo Hunhold <dev@frign.de>
Date: Mon, 5 Mar 2018 10:24:46 +0100
Add netinet/in.h to sock.c
It was missing but necessary for some defines.
Diffstat:
M sock.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/sock.c b/sock.c
@@ -1,6 +1,7 @@
/* See LICENSE file for copyright and license details. */
#include <arpa/inet.h>
#include <netdb.h>
+#include <netinet/in.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>