]> git.sesse.net Git - plocate/commitdiff
Add missing <endian.h> include.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 31 Oct 2020 10:57:29 +0000 (11:57 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 31 Oct 2020 11:00:32 +0000 (12:00 +0100)
Seemingly improves musl compatibility. Taken from the Void Linux
packaging repository.

turbopfor-encode.h

index d149ae75ce85dd6b4a08392d652e991c488d22d0..186d7fba89574bdc1a94f9af62e0f9ebe907f950 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <algorithm>
 #include <assert.h>
+#include <endian.h>
 #include <limits.h>
 #include <stdint.h>
 #include <string.h>