about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/errno.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 01e4745e03..ebb9ac0c76 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-03  Andreas Jaeger  <aj@suse.de>
+
+	* errno.c: Include resolv.h to avoid warning.
+
 2002-02-27  Ulrich Drepper  <drepper@redhat.com>
 
 	* pthread.c [USE_TLS] (thread_self_stack): Correct check for upper
diff --git a/linuxthreads/errno.c b/linuxthreads/errno.c
index bd9584f80e..0eb98ac20c 100644
--- a/linuxthreads/errno.c
+++ b/linuxthreads/errno.c
@@ -16,6 +16,7 @@
 
 #include <errno.h>
 #include <netdb.h>
+#include <resolv.h>
 #include "pthread.h"
 #include "internals.h"