summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-12 02:01:17 +0000
committerRoland McGrath <roland@gnu.org>1996-07-12 02:01:17 +0000
commit842907c6f8e6022f443175072e65bc516eb0973b (patch)
tree626cc5413c07820d66cbdb1ea841f56af09c7346 /misc
parente6c9a67a0bdb970f3b7f7ced6581b98cfe35797c (diff)
downloadglibc-842907c6f8e6022f443175072e65bc516eb0973b.tar.gz
glibc-842907c6f8e6022f443175072e65bc516eb0973b.tar.xz
glibc-842907c6f8e6022f443175072e65bc516eb0973b.zip
* inet/getnetent_r.c: Define NEED_H_ERRNO. cvs/libc-960713 cvs/libc-960712
	* inet/getnetbynm_r.c: Likewise.
	* inet/getnetent.c: Likewise.
	* inet/getnetbyad_r.c: Likewise.
	* inet/getnetbyad.c: Likewise.
	* inet/getnetbynm.c: Likewise.

	* sysdeps/generic/pselect.c: Include <sys/time.h>.

	* misc/sys/select.h: Include <time.h> instead of <sys/time.h> for
	`struct timespec'.
Diffstat (limited to 'misc')
-rw-r--r--misc/sys/select.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/sys/select.h b/misc/sys/select.h
index 320df02e02..dcb2012cff 100644
--- a/misc/sys/select.h
+++ b/misc/sys/select.h
@@ -19,9 +19,9 @@ Boston, MA 02111-1307, USA.  */
 
 /*	POSIX 1003.1g: 6.2 Select from File Descriptor Sets <sys/select.h>  */
 
-#ifndef __SYS_SELECT_H
+#ifndef _SYS_SELECT_H
 
-#define __SYS_SELECT_H	1
+#define _SYS_SELECT_H	1
 #include <features.h>
 
 /* Get definition of needed basic types.  */
@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA.  */
 
 /* Get definition of timer specification structures.  */
 #define __need_timespec
-#include <sys/time.h>
+#include <time.h>
 
 __BEGIN_DECLS