Closed Bug 157356 Opened 22 years ago Closed 22 years ago

Implicit declaration of function waitpid

Categories

(Core Graveyard :: Printing: Xprint, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 157378

People

(Reporter: caillon, Assigned: caillon)

References

()

Details

Attachments

(1 file)

gfx/src/xprint/xprintutil_printtofile.c:363
Implicit declaration of function `waitpid'
Attached patch PatchSplinter Review
Include the correct system files for waitpid. 
http://campuscgi.princeton.edu/man?waitpid
cailllon:
1. Thanks for the patch!
2. Are you sure that all Linux/Unix platforms have <sys/types.h> and
<sys/wait.h> (Solaris, AIX and Linux support the headers - but what about HP-UX,
FreeBSD, IRIX etc.) ?
I filed a new bug to slaughter more build warnings...

*** This bug has been marked as a duplicate of 157378 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: