Bug 4400 - names.c, ftp.c, and url.c need netdb.h
Summary: names.c, ftp.c, and url.c need netdb.h
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm   
(Show other bugs)
Version: 6.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-08-06 18:01 UTC by tpavlic
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-06 19:59:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description tpavlic 1999-08-06 18:01:11 UTC
In the source of RPM-3.0.2-6.0, these three files:

build/names.c
lib/ftp.c
url.c

need to have this line added to them at the very top of
each file:

#include <netdb.h>

netdb.h is needed for the hostent structs and the
gethostbyname function. (as well as a few other things)

Comment 1 Jeff Johnson 1999-08-06 19:59:59 UTC
Those *.c files all include system.h which includes netdb.h.


Note You need to log in before you can comment on or make changes to this bug.