platform_bionic/libc/include/sys/sysconf.h
Elliott Hughes 203e13d97d Always include <sys/cdefs.h>.
I made a mistake caught by code review earlier, so let's try to be
safer by default.

This patch also moves all our "forwarding" headers to the guardless
just-include-the-other-thing style that we usually use. (Where we
have a comment explaining where the header comes from, I've kept
that.)

Change-Id: I37342cf5e2563c6a269b2ba61a697069b1c7913b
2016-07-22 17:01:54 -07:00

6 lines
281 B
C

/*
* This file used to contain the declarations of sysconf and its associated constants.
* No standard mentions a <sys/sysconf.h>, but there are enough users in vendor (and potential ones
* in the NDK) to warrant not breaking source compatibility.
*/
#include <bits/sysconf.h>