Date: Wed, 16 Apr 1997 11:06:25 -0700 (PDT) From: thlin@npac.syr.edu To: freebsd-gnats-submit@freebsd.org Subject: misc/3308: Missing "#include <sys/types.h" in /usr/include/netinet/in.h and /usr/include/syssocketvar.h / Message-ID: <199704161806.LAA21372@freefall.freebsd.org> Resent-Message-ID: <199704161810.LAA22316@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 3308
>Category: misc
>Synopsis: Missing "#include <sys/types.h" in /usr/include/netinet/in.h and /usr/include/syssocketvar.h /
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 16 11:10:01 PDT 1997
>Last-Modified:
>Originator: Tseng-Hui (Frank) Lin
>Organization:
Syracuse University
>Release: 2.2.1
>Environment:
FreeBSD infant.thlin.com 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #0: Tue Apr 15 22:48:19 EDT 1997 thlin@infant.thlin.com:/home7/src/sys/compile/INFANT i386
>Description:
"#include <sys/types.h>" is missing in both /usr/include/netinet/in.h
and /usr/include/syssocketvar.h. It causes cc complains about undefined
u_long.
>How-To-Repeat:
Compile this:
#include <netinet/in.h>
int main() { exit(0); }
int t() { main(); }
>Fix:
Add "#include <sys/types.h>" to /usr/include/netinet/in.h and
/usr/include/syssocketvar.h.
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704161806.LAA21372>
