chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e38c16d
)
Fix build on musl
author
Bjorn Pagen
<bjornpagen@gmail.com>
Thu, 22 Feb 2018 22:05:31 +0000
(17:05 -0500)
committer
Sven 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
patch
|
blob
|
history
diff --git
a/src/shared/musl_missing.h
b/src/shared/musl_missing.h
index 800dc18bef8ef6fbe482049e8868647b91ac6e15..d42f03c34038317065c445a7501e004bc14c6923 100644
(file)
--- a/
src/shared/musl_missing.h
+++ b/
src/shared/musl_missing.h
@@
-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>