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/asr | |
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/asr')
-rw-r--r-- | lib/libc/asr/res_query.c | 3 | ||||
-rw-r--r-- | lib/libc/asr/res_send.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/asr/res_query.c b/lib/libc/asr/res_query.c index eed33d78307..72401af31b5 100644 --- a/lib/libc/asr/res_query.c +++ b/lib/libc/asr/res_query.c @@ -1,4 +1,4 @@ -/* $OpenBSD: res_query.c,v 1.5 2013/07/12 14:36:22 eric Exp $ */ +/* $OpenBSD: res_query.c,v 1.6 2013/11/12 06:09:50 deraadt Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -21,6 +21,7 @@ #include <errno.h> #include <resolv.h> #include <string.h> +#include <stdlib.h> #include "asr.h" diff --git a/lib/libc/asr/res_send.c b/lib/libc/asr/res_send.c index 054eca5e39e..7c6152e258c 100644 --- a/lib/libc/asr/res_send.c +++ b/lib/libc/asr/res_send.c @@ -1,4 +1,4 @@ -/* $OpenBSD: res_send.c,v 1.5 2013/07/12 14:36:22 eric Exp $ */ +/* $OpenBSD: res_send.c,v 1.6 2013/11/12 06:09:50 deraadt Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -21,6 +21,7 @@ #include <errno.h> #include <resolv.h> #include <string.h> +#include <stdlib.h> #include "asr.h" |