diff options
Diffstat (limited to '')
| -rw-r--r-- | src/login.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/login.h b/src/login.h index 53a39cb..bfa088a 100644 --- a/src/login.h +++ b/src/login.h @@ -56,7 +56,10 @@ void set_environ(struct passwd* entry, char preserve_env); * * @param entry The user entry in the password file */ -void exec_shell(struct passwd* entry) __attribute__((noreturn)); +#ifdef __GNUC__ +__attribute__((noreturn)) +#endif +void exec_shell(struct passwd* entry); #endif |
