fix endian errors in arpa/nameser.h due to failure to include endian.h
authorJo-Philipp Wich <jo@mein.io>
Mon, 4 Dec 2017 11:13:06 +0000 (12:13 +0100)
committerRich Felker <dalias@aerifal.cx>
Fri, 15 Dec 2017 04:36:47 +0000 (23:36 -0500)
include/arpa/nameser.h

index 581925a43367ae19bfa9cff25bcc022b098f37b6..b315e0f357007cbc0e467cf58574e043c7e06223 100644 (file)
@@ -7,6 +7,7 @@ extern "C" {
 
 #include <stddef.h>
 #include <stdint.h>
+#include <endian.h>
 
 #define __NAMESER      19991006
 #define NS_PACKETSZ    512