Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

daemon: fix build with musl libc (again) #4

Merged
merged 1 commit into from Jul 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions daemon.c
Expand Up @@ -1011,9 +1011,6 @@ I<elogind(8)>
#ifdef _RESTORE_POSIX_SOURCE
#define _POSIX_SOURCE
#endif
#ifdef HAVE_SYS_TTYDEFAULTS_H /* For CEOF in musl libc (Linux only) */
#include <sys/ttydefaults.h>
#endif
#include <dirent.h>
#include <sys/wait.h>
#include <sys/stat.h>
Expand All @@ -1037,6 +1034,10 @@ I<elogind(8)>
#include <systemd/sd-login.h>
#endif

#ifdef HAVE_SYS_TTYDEFAULTS_H /* For CEOF in musl libc (Linux only) */
#include <sys/ttydefaults.h>
#endif

/* Configuration file entries */

typedef struct Config Config;
Expand Down