void-packages/srcpkgs/stellarium/patches/indi_musl.patch

14 lines
383 B
Diff

--- src/external/libindi/libs/indibase/indilogger.h 2018-04-02 17:10:25.299275210 +0200
+++ src/external/libindi/libs/indibase/indilogger.h 2018-04-02 17:10:56.375831306 +0200
@@ -28,7 +28,9 @@
#include <ostream>
#include <string>
#include <sstream>
-//#include <sys/time.h>
+#if !defined(__GLIBC__)
+#include <sys/time.h>
+#endif
/**
* @brief Macro to configure the logger.