From 5c0c830229e70053b36323f1192540602b53ce41 Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 25 Apr 2019 21:22:51 +0100 Subject: [PATCH] Fix compilation on musl C systems due to missing sys/time.h header. Thanks to maxice8. --- ChangeLog.txt | 7 +++++++ client/client_shared.h | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index 9fc56954..69b2c023 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,10 @@ +1.6.1 - 201905xx +================ + +Clients: +- Fix compilation on musl C systems due to missing sys/time.h header. + + 1.6 - 20190417 ============== diff --git a/client/client_shared.h b/client/client_shared.h index 18686cde..7e65f3d1 100644 --- a/client/client_shared.h +++ b/client/client_shared.h @@ -19,6 +19,12 @@ Contributors: #include +#ifdef WIN32 +# include +#else +# include +#endif + /* pub_client.c modes */ #define MSGMODE_NONE 0 #define MSGMODE_CMD 1