diff --git a/galmonmon.cc b/galmonmon.cc index 24ae8ca..443d81e 100644 --- a/galmonmon.cc +++ b/galmonmon.cc @@ -6,7 +6,7 @@ #include "fmt/printf.h" #include "ext/powerblog/h2o-pp.hh" #include -#include "githash.h" + #include "CLI/CLI.hpp" #include "version.hh" diff --git a/navcat.cc b/navcat.cc index 1d3524b..edef136 100644 --- a/navcat.cc +++ b/navcat.cc @@ -16,7 +16,7 @@ #include #include #include "navmon.hh" -#include "githash.h" + #include "CLI/CLI.hpp" #include "version.hh" diff --git a/navdisplay.cc b/navdisplay.cc index e97bd12..e577187 100644 --- a/navdisplay.cc +++ b/navdisplay.cc @@ -13,7 +13,7 @@ #include "navmon.pb.h" #include #include "navmon.hh" -#include "githash.h" + #include "CLI/CLI.hpp" #include "version.hh" diff --git a/navdump.cc b/navdump.cc index 7daba25..79ae6b1 100644 --- a/navdump.cc +++ b/navdump.cc @@ -26,7 +26,7 @@ #include "sp3.hh" #include "ubx.hh" #include -#include "githash.h" + #include "version.hh" #include "gpscnav.hh" #include "rinex.hh" diff --git a/navmon.hh b/navmon.hh index 941d225..fe73101 100644 --- a/navmon.hh +++ b/navmon.hh @@ -6,6 +6,9 @@ #include #include +extern const char* g_gitHash; + + struct EofException{}; struct TimeoutError{}; diff --git a/navnexus.cc b/navnexus.cc index baabf5a..1c6b655 100644 --- a/navnexus.cc +++ b/navnexus.cc @@ -15,7 +15,7 @@ #include "storage.hh" #include #include -#include "githash.h" + #include "CLI/CLI.hpp" #include "version.hh" diff --git a/navparse.cc b/navparse.cc index 26ccb3c..cc91fd2 100644 --- a/navparse.cc +++ b/navparse.cc @@ -30,7 +30,7 @@ #include "navparse.hh" #include #include "influxpush.hh" -#include "githash.h" + #include "CLI/CLI.hpp" #include "gpscnav.hh" #include "version.hh" diff --git a/navrecv.cc b/navrecv.cc index aa14889..8fb7d9a 100644 --- a/navrecv.cc +++ b/navrecv.cc @@ -11,7 +11,7 @@ #include #include #include -#include "githash.h" + #include "CLI/CLI.hpp" #include "version.hh" diff --git a/reporter.cc b/reporter.cc index 4efe1b4..35f6b97 100644 --- a/reporter.cc +++ b/reporter.cc @@ -4,7 +4,7 @@ #include "navmon.hh" #include "fmt/format.h" #include "fmt/printf.h" -#include "githash.h" + #include "CLI/CLI.hpp" #include "version.hh" diff --git a/tlecatch.cc b/tlecatch.cc index 7535893..58ecd48 100644 --- a/tlecatch.cc +++ b/tlecatch.cc @@ -1,7 +1,7 @@ #include "SGP4.h" #include #include -#include "githash.h" + #include "CLI/CLI.hpp" #include "version.hh" diff --git a/ubxtool.cc b/ubxtool.cc index 5430df7..5fd8a52 100644 --- a/ubxtool.cc +++ b/ubxtool.cc @@ -33,7 +33,7 @@ #include "comboaddress.hh" #include "swrappers.hh" #include "sclasses.hh" -#include "githash.h" + #include "version.hh" static char program[]="ubxtool";