summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/alarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/alarm.c')
-rw-r--r--libc/sysdeps/linux/common/alarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/alarm.c b/libc/sysdeps/linux/common/alarm.c
index 4e6e2215b..861f6ad8e 100644
--- a/libc/sysdeps/linux/common/alarm.c
+++ b/libc/sysdeps/linux/common/alarm.c
@@ -9,7 +9,7 @@
#include <sys/syscall.h>
#include <unistd.h>
-#ifdef __NR_alarm && !defined(__UCLIBC_USE_TIME64__)
+#if defined(__NR_alarm) && !defined(__UCLIBC_USE_TIME64__)
_syscall1(unsigned int, alarm, unsigned int, seconds)
#else
# include <sys/time.h>