aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-19 14:29:46 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-19 14:33:46 +0100
commit0829a1704e51c3acbf5577e35de16a5019e0214f (patch)
treed3c2a5a318ffec663f03025cbe05619a5e1b2008
parent7cf144b27d75fadfb4ec65019985bb10660a066a (diff)
sysmo+lc15: Add missign include for readv/writev
This avoids compiler warnings like this: ../../src/osmo-bts-sysmo/l1_transp_hw.c:130:13: warning: implicit declaration of function ‘writev’; did you mean ‘write’? [-Wimplicit-function-declaration] written = writev(fd->fd, iov, count); Change-Id: Ic67d369a3ca33bfa636ace9f272f1c7257de86e1
-rw-r--r--src/osmo-bts-litecell15/l1_transp_hw.c1
-rw-r--r--src/osmo-bts-sysmo/l1_transp_hw.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-litecell15/l1_transp_hw.c b/src/osmo-bts-litecell15/l1_transp_hw.c
index b526108..c8972be 100644
--- a/src/osmo-bts-litecell15/l1_transp_hw.c
+++ b/src/osmo-bts-litecell15/l1_transp_hw.c
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/uio.h>
#include <osmocom/core/talloc.h>
#include <osmocom/core/utils.h>
diff --git a/src/osmo-bts-sysmo/l1_transp_hw.c b/src/osmo-bts-sysmo/l1_transp_hw.c
index 95e3119..01bc200 100644
--- a/src/osmo-bts-sysmo/l1_transp_hw.c
+++ b/src/osmo-bts-sysmo/l1_transp_hw.c
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/uio.h>
#include <osmocom/core/talloc.h>
#include <osmocom/core/utils.h>