summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/include')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/gps.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/gps.h b/src/host/layer23/include/osmocom/bb/common/gps.h
index 467cee52..b7500dbc 100644
--- a/src/host/layer23/include/osmocom/bb/common/gps.h
+++ b/src/host/layer23/include/osmocom/bb/common/gps.h
@@ -22,8 +22,14 @@
struct osmo_gps {
/* GPS device */
uint8_t enable;
+
+#ifdef _USE_GPSD
+ char gpsd_host[32];
+ char gpsd_port[6];
+#else
char device[32];
uint32_t baud;
+#endif
/* current data */
uint8_t valid; /* we have a fix */