aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-07-26 07:34:28 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2014-07-26 07:34:28 +0200
commitfcee22962525cd352229185c0f3e12ab96a93993 (patch)
treea77ac4b8c326d4edca0430dadcb3ceff67d495a8
parent0a4eefa96c01e52fd7bcf5bf9b85ebbfdec5501a (diff)
descriptors.h: include <arpa/inet.h> for ntohs
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--lib/include/libdvbv5/descriptors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/include/libdvbv5/descriptors.h b/lib/include/libdvbv5/descriptors.h
index cda958e6..c452af60 100644
--- a/lib/include/libdvbv5/descriptors.h
+++ b/lib/include/libdvbv5/descriptors.h
@@ -28,6 +28,7 @@
#include <unistd.h>
#include <stdint.h>
+#include <arpa/inet.h>
#define DVB_MAX_PAYLOAD_PACKET_SIZE 4096
#define DVB_CRC_SIZE 4

Privacy Policy