]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libctf: get rid of a disruptive public include of <sys/param.h>
authorNick Alcock <nick.alcock@oracle.com>
Sat, 13 Jul 2019 20:45:55 +0000 (21:45 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 23 Sep 2019 13:12:54 +0000 (14:12 +0100)
commitdeb9b901992c5b2043430dd178c3b94d8fe97376
treeaab157bc745c47ba96bdfd331584a20032966d51
parent3c50a95108d487979713c0720aa6904c00feeaa5
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.
include/ChangeLog
include/ctf-api.h
libctf/ChangeLog
libctf/ctf-impl.h