mirror of https://github.com/ericonr/sndio.git
include grp.h, include bsd-compat.h first, since it defines _GNU_SOURCE,
used by other headers
This commit is contained in:
parent
9870bef8b9
commit
6078ffd6b8
|
@ -14,6 +14,9 @@
|
||||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
#ifdef COMPAT_STRTONUM
|
||||||
|
#include "bsd-compat.h"
|
||||||
|
#endif
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/queue.h>
|
#include <sys/queue.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@ -23,6 +26,7 @@
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <grp.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
@ -43,9 +47,6 @@
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#include "dbg.h"
|
#include "dbg.h"
|
||||||
#endif
|
#endif
|
||||||
#ifdef COMPAT_STRTONUM
|
|
||||||
#include "bsd-compat.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* unprivileged user name
|
* unprivileged user name
|
||||||
|
|
Loading…
Reference in New Issue