mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user