]> git.sesse.net Git - plocate/commitdiff
Remove unneeded error.h include.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Tue, 28 Dec 2021 09:12:52 +0000 (10:12 +0100)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Tue, 28 Dec 2021 09:15:09 +0000 (10:15 +0100)
This improves compatibility with musl libc. Reported by Andrew Pirie.

lib.cpp

diff --git a/lib.cpp b/lib.cpp
index 83a9692f059e19b7bd6600f92073cd67939d9526..b573a2a8607a0549e43b60ba70b2b8327e6954b0 100644 (file)
--- a/lib.cpp
+++ b/lib.cpp
@@ -23,7 +23,6 @@ any later version.
 #include "lib.h"
 
 #include "db.h"
-#include "error.h"
 
 #include <algorithm>
 #include <arpa/inet.h>