2017-05-02 07:07:44 +02:00
|
|
|
daemon: fix build with musl
|
|
|
|
|
|
|
|
musl requires the ttydefaults.h to be included explicitly for CEOF.
|
|
|
|
|
|
|
|
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
|
|
|
---
|
|
|
|
|
|
|
|
diff -Nuar daemon-0.6.4-orig/daemon.c daemon-0.6.4/daemon.c
|
|
|
|
--- daemon-0.6.4-orig/daemon.c 2010-06-12 16:37:00.000000000 +0300
|
|
|
|
+++ daemon-0.6.4/daemon.c 2017-05-01 22:02:17.721413468 +0300
|
2020-11-21 18:50:54 +01:00
|
|
|
@@ -864,6 +864,7 @@
|
2017-05-02 07:07:44 +02:00
|
|
|
#ifdef _RESTORE_POSIX_SOURCE
|
|
|
|
#define _POSIX_SOURCE
|
|
|
|
#endif
|
|
|
|
+#include <sys/ttydefaults.h>
|
2020-11-21 18:50:54 +01:00
|
|
|
#include <dirent.h>
|
2017-05-02 07:07:44 +02:00
|
|
|
#include <sys/wait.h>
|
|
|
|
#include <sys/stat.h>
|