Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2001 14:28:35 -0800 (PST)
From:      sapsan11@mail.ru
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/25121: sys/socket.h and netinet/in.h contain errors
Message-ID:  <200102152228.f1FMSZA87464@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25121
>Category:       misc
>Synopsis:       sys/socket.h and netinet/in.h contain errors
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 15 14:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alex
>Release:        4.2 Stable
>Organization:
>Environment:
FreeBSD sapsan 4.2-STABLE FreeBSD 4.2-STABLE #0: Mon Jan 22 00:17:19 EET 2001     root@sapsan:/usr/src/sys/compile/SAPSAN  i386
>Description:
This program returns a lot of syntax errors in including files when I compile it...

#include <sys/socket.h>
#include <netinet/in.h>
#include <stdio.h>

void main(){
  printf("Hello!");
}

Compile with:
$ cc -o test test.C
>How-To-Repeat:
Include these files into your program and try to compile
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102152228.f1FMSZA87464>