aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-07 12:45:53 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-07 21:10:47 +0200
commit27424a39ee23e635541a6496f34edf7b4ba36e12 (patch)
tree5ee32c7cc87b2db280319ddc33f5ab0786010ad3
parentc7ac63afa5e840be22e8cad0d2a9419a9c6c1e55 (diff)
Transceiver: Add missing include netinet/in.h
Previous commit started using IPPROTO_UDP without including required include. Newer versions of libosmocore's osmocom/core/socket.h include that header so the define is present, but older versions of libosmocore (such as 0.12.0) don't, so let's include it explicitly (the correct thing to do). Fixes: b9d2515704ac83cacd88d0a73ecba30323df0b2d Change-Id: I67ddf550f3a7fc6a650e1e1d9bde0bbb28785104
-rw-r--r--Transceiver52M/Transceiver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp
index b12a498..4da1876 100644
--- a/Transceiver52M/Transceiver.cpp
+++ b/Transceiver52M/Transceiver.cpp
@@ -24,6 +24,7 @@
*/
#include <stdio.h>
+#include <netinet/in.h>
#include <iomanip> // std::setprecision
#include <fstream>
#include "Transceiver.h"