diff options
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); |