Bug 827040 - missing header: bits/sysctl.h -- included by sys/sysctl.h
Summary: missing header: bits/sysctl.h -- included by sys/sysctl.h
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Law
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-31 13:50 UTC by Jim Meyering
Modified: 2016-11-24 15:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-01 03:45:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jim Meyering 2012-05-31 13:50:23 UTC
Description of problem:
/usr/include/sys/sysctl.h includes missing header, bits/sysctl.h.

Version-Release number of selected component (if applicable):

How reproducible: every time

Steps to Reproduce:
1.  Run this:

  :|gcc -include sys/sysctl.h -E -x c /dev/null > /dev/null

Actual results:

    In file included from <command-line>:0:0:
    /usr/include/sys/sysctl.h:63:25: fatal error: bits/sysctl.h: \
      No such file or directory
    compilation terminated.

Expected results:

    no error

Additional info:

  It looks like it's due to the addition of this single line:

      #include <bits/sysctl.h>

  I was able to work around it by commenting out that line.

Comment 2 Jeff Law 2012-06-01 03:45:46 UTC
Resync'd with upstream to pick up the fix.  Build spinning.


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