Bug 4400 - names.c, ftp.c, and url.c need netdb.h
names.c, ftp.c, and url.c need netdb.h
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
All Linux
low Severity low
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-08-06 14:01 EDT by tpavlic
Modified: 2008-05-01 11:37 EDT (History)
0 users

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


Attachments (Terms of Use)

  None (edit)
Description tpavlic 1999-08-06 14:01:11 EDT
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 15:59:59 EDT
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.