chiark / gitweb /
Fix build on musl
authorBjorn Pagen <bjornpagen@gmail.com>
Thu, 22 Feb 2018 22:05:31 +0000 (17:05 -0500)
committerSven Eden <yamakuzure@gmx.net>
Wed, 7 Mar 2018 15:52:59 +0000 (16:52 +0100)
Before this fix, elogind did not compile on musl, as the header "musl-missing.h" tries to include a nonexistant header: "config.h". This patch fixes that. Musl compiles with no issues once this patch is administered.

src/shared/musl_missing.h

index 800dc18bef8ef6fbe482049e8868647b91ac6e15..d42f03c34038317065c445a7501e004bc14c6923 100644 (file)
@@ -20,7 +20,6 @@
 void elogind_set_program_name(const char* pcall);
 
 #if !defined(__GLIBC__)
-#include "config.h"
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>