Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/net need sys/types.h before sys/socket.h



details:   https://anonhg.NetBSD.org/src/rev/a682f3046f06
branches:  trunk
changeset: 480214:a682f3046f06
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Jan 07 01:49:42 2000 +0000

description:
need sys/types.h before sys/socket.h

diffstat:

 lib/libc/net/getaddrinfo.3 |  1 +
 lib/libc/net/getnameinfo.3 |  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 46523cbd0ade -r a682f3046f06 lib/libc/net/getaddrinfo.3
--- a/lib/libc/net/getaddrinfo.3        Fri Jan 07 00:13:24 2000 +0000
+++ b/lib/libc/net/getaddrinfo.3        Fri Jan 07 01:49:42 2000 +0000
@@ -46,6 +46,7 @@
 .Lb libc
 .\"
 .Sh SYNOPSIS
+.Fd #include <sys/types.h>
 .Fd #include <sys/socket.h>
 .Fd #include <netdb.h>
 .Ft int
diff -r 46523cbd0ade -r a682f3046f06 lib/libc/net/getnameinfo.3
--- a/lib/libc/net/getnameinfo.3        Fri Jan 07 00:13:24 2000 +0000
+++ b/lib/libc/net/getnameinfo.3        Fri Jan 07 01:49:42 2000 +0000
@@ -44,6 +44,7 @@
 .Lb libc
 .\"
 .Sh SYNOPSIS
+.Fd #include <sys/types.h>
 .Fd #include <sys/socket.h>
 .Fd #include <netdb.h>
 .Ft int



Home | Main Index | Thread Index | Old Index