summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/isnan.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/isnan.c')
-rw-r--r--lib/libc/gen/isnan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/isnan.c b/lib/libc/gen/isnan.c
index 344d2ed97e9..5ee34be7fe3 100644
--- a/lib/libc/gen/isnan.c
+++ b/lib/libc/gen/isnan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnan.c,v 1.8 2013/07/03 04:46:36 espie Exp $ */
+/* $OpenBSD: isnan.c,v 1.9 2013/11/12 06:09:48 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -18,6 +18,7 @@
#include <sys/types.h>
#include <machine/ieee.h>
#include <float.h>
+#include <math.h>
int
__isnan(double d)