Bug 163276 - baudboy.h should include fcntl.h
baudboy.h should include fcntl.h
Product: Fedora
Classification: Fedora
Component: lockdev (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-07-14 14:34 EDT by Chris Adams
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-01 10:48:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Adams 2005-07-14 14:34:31 EDT
/usr/include/baudboy.h should include fcntl.h because it uses open().  If you
don't first include fcntl.h, open() will get an implicit definition (which is
usually bad and won't compile).

I think this hasn't been noticed because current baudboy.h users include fcntl.h
themselves first.  I'm building ckermit with baudboy.h and it doesn't include
fcntl.h, so it won't compile.

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