diff options
author | Ruediger Meier | 2016-02-17 18:52:10 +0100 |
---|---|---|
committer | Ruediger Meier | 2016-02-18 16:54:17 +0100 |
commit | 66daee0765d26d6aa898d7b9358992be305a778b (patch) | |
tree | 264ac3ea696b271fddf00b22dab1770af0b717c7 /login-utils | |
parent | lib: define LOGIN_NAME_MAX fallback (diff) | |
download | kernel-qcow2-util-linux-66daee0765d26d6aa898d7b9358992be305a778b.tar.gz kernel-qcow2-util-linux-66daee0765d26d6aa898d7b9358992be305a778b.tar.xz kernel-qcow2-util-linux-66daee0765d26d6aa898d7b9358992be305a778b.zip |
include: check for sys/sysmacros.h
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'login-utils')
-rw-r--r-- | login-utils/login.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/login-utils/login.c b/login-utils/login.c index 6f5103909..e1f11eb9e 100644 --- a/login-utils/login.c +++ b/login-utils/login.c @@ -48,7 +48,9 @@ #include <utmp.h> #include <stdlib.h> #include <sys/syslog.h> +#ifdef HAVE_SYS_SYSMACROS_H #include <sys/sysmacros.h> +#endif #ifdef HAVE_LINUX_MAJOR_H # include <linux/major.h> #endif |