From root@cs28120-135.houston.rr.com  Sun Aug 20 01:51:37 2000
Return-Path: <root@cs28120-135.houston.rr.com>
Received: from cs28120-135.houston.rr.com (cs28120-135.houston.rr.com [24.28.120.135])
	by hub.freebsd.org (Postfix) with ESMTP id 65C6C37B422
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Aug 2000 01:51:36 -0700 (PDT)
Received: (from root@localhost)
	by cs28120-135.houston.rr.com (8.9.3/8.9.3) id DAA64762;
	Sun, 20 Aug 2000 03:51:30 -0500 (CDT)
	(envelope-from root)
Message-Id: <200008200851.DAA64762@cs28120-135.houston.rr.com>
Date: Sun, 20 Aug 2000 03:51:30 -0500 (CDT)
From: zdenko@cs.uh.edu
Sender: root@cs28120-135.houston.rr.com
Reply-To: zdenko@cs.uh.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: missing include <sys/time.h> in ports ftp/hsftp
X-Send-Pr-Version: 3.2

>Number:         20724
>Category:       ports
>Synopsis:       include directive (#include <sys/time.h>) is missing, thus compilation fails with incomplete type(timeval) in <sys/resource.h>
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 20 02:00:01 PDT 2000
>Closed-Date:    Mon Sep 4 19:06:12 PDT 2000
>Last-Modified:  Mon Sep 04 19:07:22 PDT 2000
>Originator:     Charlie &
>Release:        FreeBSD 3.5-STABLE i386
>Organization:
>Environment:
usual -STABLE environment

>Description:

compilation fails due to incomplete type: timeval is undeclared because of 
omission of time header file

>How-To-Repeat:

cd /usr/ports/ftp/hsftp; make

>Fix:
	
add 
#include <sys/time.h>
right before
#include <sys/resource.h>
line




>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon Sep 4 19:06:12 PDT 2000 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20724 
>Unformatted:
 Confidential:   no
