Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2005 11:35:59 GMT
From:      Federico Galvez-Durand <federicogalvezdurand@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/85741: /usr/include/resolv.h does not compile in simple test program.
Message-ID:  <200509051135.j85BZxuC040502@www.freebsd.org>
Resent-Message-ID: <200509051140.j85BeG8X085702@freefall.freebsd.org>

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

>Number:         85741
>Category:       i386
>Synopsis:       /usr/include/resolv.h does not compile in simple test program.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 05 11:40:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Federico Galvez-Durand
>Release:        i386
>Organization:
>Environment:
5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Aug 26 09:00:09 GMT-2 2005
>Description:
Simple test program does not compile. 
It needs #include <netinet/in.h> for definition of address types.


>How-To-Repeat:
compile:
#include <resolv.h>
main ()
{
}
      
>Fix:
*** resolv.h.orig       Fri Sep  2 18:42:55 2005
--- resolv.h    Fri Sep  2 18:44:28 2005
***************
*** 61,66 ****
--- 61,67 ----
  #include <sys/types.h>
  #include <sys/cdefs.h>
  #include <sys/socket.h>
+ #include <netinet/in.h>
  #include <stdio.h>

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



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