diff options
author | 2013-11-12 06:09:48 +0000 | |
---|---|---|
committer | 2013-11-12 06:09:48 +0000 | |
commit | 35d50e37c6a86fa2a0d7df2bf7fb22b25ce1eba9 (patch) | |
tree | e06a918583a6e99b18099c686a0505d3e248b31c /lib/libc/gen/isinf.c | |
parent | pull in stdlib.h as required (diff) | |
download | wireguard-openbsd-35d50e37c6a86fa2a0d7df2bf7fb22b25ce1eba9.tar.xz wireguard-openbsd-35d50e37c6a86fa2a0d7df2bf7fb22b25ce1eba9.zip |
pull in missing includes (math.h, unistd.h, stdlib.h) needed for
prototypes
Diffstat (limited to 'lib/libc/gen/isinf.c')
-rw-r--r-- | lib/libc/gen/isinf.c | 3 |
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) |