summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/res_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/asr/res_query.c')
-rw-r--r--lib/libc/asr/res_query.c3
1 files changed, 2 insertions, 1 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"