chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v230: Move musl_missing and parse-printf-format to libshared.
[elogind.git]
/
src
/
libelogind
/
sd-login
/
test-login.c
diff --git
a/src/libelogind/sd-login/test-login.c
b/src/libelogind/sd-login/test-login.c
index c1fd7dd33e4abe544691cb8917d89dba5dac048d..e0a838d3fef011e8b5b7b43aad84c1a34f03d58f 100644
(file)
--- a/
src/libelogind/sd-login/test-login.c
+++ b/
src/libelogind/sd-login/test-login.c
@@
-29,6
+29,9
@@
#include "strv.h"
#include "util.h"
#include "strv.h"
#include "util.h"
+/// Additional includes needed by elogind
+#include "musl_missing.h"
+
static void test_login(void) {
_cleanup_close_pair_ int pair[2] = { -1, -1 };
_cleanup_free_ char *pp = NULL, *qq = NULL;
static void test_login(void) {
_cleanup_close_pair_ int pair[2] = { -1, -1 };
_cleanup_free_ char *pp = NULL, *qq = NULL;
@@
-255,6
+258,7
@@
static void test_login(void) {
}
int main(int argc, char* argv[]) {
}
int main(int argc, char* argv[]) {
+ elogind_set_program_name(argv[0]);
log_parse_environment();
log_open();
log_parse_environment();
log_open();