i386/85741: /usr/include/resolv.h does not compile in simple test program.

Federico Galvez-Durand federicogalvezdurand at yahoo.com
Mon Sep 5 04:40:17 PDT 2005


>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:


More information about the freebsd-i386 mailing list