(v233 addition).
#include <linux/btrfs.h>
#endif
-#if 0 /// UNNEEDED by elogind
#if HAVE_LINUX_VM_SOCKETS_H
#include <linux/vm_sockets.h>
#else
sizeof(unsigned int)];
};
#endif /* !HAVE_LINUX_VM_SOCKETS_H */
-#endif // 0
#ifndef RLIMIT_RTTIME
#define RLIMIT_RTTIME 15
struct sockaddr_in in;
struct sockaddr_in6 in6;
struct sockaddr_un un;
-#if 0 /// UNNEEDED by elogind.
+#if 0 /// UNNEEDED by elogind, only 'sa', 'in', 'in6' and 'un' are used in all of elogind.
struct sockaddr_nl nl;
struct sockaddr_storage storage;
struct sockaddr_ll ll;
/* We test whether the runtime unit file directory has been
* created. This takes place in mount-setup.c, so is
* guaranteed to happen very early during boot. */
-
+#if 0 /// elogind is always used without systemd running the show. (Well, it should...)
return laccess("/run/systemd/system/", F_OK) >= 0;
+#else
+ return 0;
+#endif // 0
}
_public_ int sd_watchdog_enabled(int unset_environment, uint64_t *usec) {