diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 06:09:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-11-12 06:09:51 +0000 |
commit | 071b47a2a066cf6f8e0b52b94655a8314e29230c (patch) | |
tree | 4e2849178c837e5b854e0f68e38ec4cfbb943d27 /lib/libc/asr | |
parent | 24bceb7aedb6628fab0080f4a7695acca135ad89 (diff) |
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" |