about summary refs log tree commit diff
path: root/nis/nis_findserv.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-11 11:51:23 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-11 11:51:23 +0000
commit18de8c733f47eedd3ccb9705c2d3bb8464025588 (patch)
tree358674101936d87ef0756dfebf2072791bb5ed46 /nis/nis_findserv.c
parentb9337b6a58501fcbae612a86d4219a8db2c5c1ff (diff)
downloadglibc-18de8c733f47eedd3ccb9705c2d3bb8464025588.tar.gz
glibc-18de8c733f47eedd3ccb9705c2d3bb8464025588.tar.xz
glibc-18de8c733f47eedd3ccb9705c2d3bb8464025588.zip
Update.
1998-04-11  Ulrich Drepper  <drepper@cygnus.com>

	* rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
	instead of call to pthread_cond_init.
	* rt/lio_listio.c (lio_listio): Likewise.
	* rt/lio_listio64.c (lio_listio64): Likewise.

	* nis/nis_findserv.c: Include sys/socket.h.
Diffstat (limited to 'nis/nis_findserv.c')
-rw-r--r--nis/nis_findserv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nis/nis_findserv.c b/nis/nis_findserv.c
index 84508177e6..b6abff133d 100644
--- a/nis/nis_findserv.c
+++ b/nis/nis_findserv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
 
@@ -20,6 +20,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <sys/ioctl.h>
+#include <sys/socket.h>
 #include <rpc/pmap_prot.h>
 #include <rpc/pmap_clnt.h>
 #include <rpcsvc/nis.h>