summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/isinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/isinf.c')
-rw-r--r--lib/libc/gen/isinf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/isinf.c b/lib/libc/gen/isinf.c
index db8daa52eaa..ad260495909 100644
--- a/lib/libc/gen/isinf.c
+++ b/lib/libc/gen/isinf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isinf.c,v 1.9 2013/07/03 04:46:36 espie Exp $ */
+/* $OpenBSD: isinf.c,v 1.10 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
__isinf(double d)