diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-05-14 21:48:41 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-05-17 15:15:09 +0100 |
commit | 7af6d22a4e15ea7dde5869ca6784e06dbff87a28 (patch) | |
tree | 1fda03041229fd3e73dc05b59e12e39086187fa3 /include | |
parent | fe71ee9d993af078aac0596ee081f04ca9145e7e (diff) |
sercomm: Include in libosmocore Makefile
Change-Id: If9d50d634381f43b2c67b97fea36a462a66e4559
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.am | 1 | ||||
-rw-r--r-- | include/osmocom/core/sercomm.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index 6981c379..161bbcaf 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -36,6 +36,7 @@ nobase_include_HEADERS = \ osmocom/core/rate_ctr.h \ osmocom/core/stat_item.h \ osmocom/core/select.h \ + osmocom/core/sercomm.h \ osmocom/core/signal.h \ osmocom/core/socket.h \ osmocom/core/statistics.h \ diff --git a/include/osmocom/core/sercomm.h b/include/osmocom/core/sercomm.h index cc1a833b..32b96c53 100644 --- a/include/osmocom/core/sercomm.h +++ b/include/osmocom/core/sercomm.h @@ -58,7 +58,7 @@ struct osmo_sercomm_inst { }; -#ifndef HOST_BUILD +#ifdef EMBEDDED #include <uart.h> /* helper functions for target */ void osmo_sercomm_change_speed(struct osmo_sercomm_inst *sercomm, enum uart_baudrate bdrt); |