libctf: get rid of a disruptive public include of <sys/param.h>
This hoary old header defines things like MAX that users of libctf might perfectly reasonably define themselves. The CTF headers do not need it: move it into libctf/ctf-impl.h instead. include/ * ctf-api.h (includes): No longer include <sys/param.h>. libctf/ * ctf-impl.h (includes): Include <sys/param.h> here.
This commit is contained in:
parent
5ae6af75b5
commit
7e97445a5a
4 changed files with 9 additions and 1 deletions
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include "config.h"
|
||||
#include <errno.h>
|
||||
#include <sys/param.h>
|
||||
#include "ctf-decls.h"
|
||||
#include <ctf-api.h>
|
||||
#include <sys/types.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue