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:
Nick Alcock
2019-07-13 21:45:55 +01:00
parent 5ae6af75b5
commit 7e97445a5a
4 changed files with 9 additions and 1 deletions

View File

@ -24,7 +24,6 @@
#ifndef _CTF_API_H
#define _CTF_API_H
#include <sys/param.h>
#include <sys/types.h>
#include <ctf.h>
#include <zlib.h>