[MERGED] libosmo-abis[master]: lapd_pcap.h: Add missing #include lines

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Nov 16 10:07:47 UTC 2016


Harald Welte has submitted this change and it was merged.

Change subject: lapd_pcap.h: Add missing #include lines
......................................................................


lapd_pcap.h: Add missing #include lines

we reference 'struct msgb' and mode_t, so we have to #include
the right header files.

Change-Id: Iac8f905182b60782202bdf75e04d47ea89dc3863
---
M include/osmocom/abis/lapd_pcap.h
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/abis/lapd_pcap.h b/include/osmocom/abis/lapd_pcap.h
index e1b587e..36ddd7f 100644
--- a/include/osmocom/abis/lapd_pcap.h
+++ b/include/osmocom/abis/lapd_pcap.h
@@ -1,6 +1,9 @@
 #ifndef _LAPD_PCAP_H_
 #define _LAPD_PCAP_H_
 
+#include <sys/types.h>
+#include <osmocom/core/msgb.h>
+
 #define OSMO_LAPD_PCAP_INPUT	0
 #define OSMO_LAPD_PCAP_OUTPUT	1
 

-- 
To view, visit https://gerrit.osmocom.org/1253
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iac8f905182b60782202bdf75e04d47ea89dc3863
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list