Reintroduce libutil.h #include for FreeBSD only for fparseln
This commit is contained in:
parent
acf66ea77b
commit
6fa647788e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/netbsd-tests-upstream-01-2017/; revision=312313
@ -34,6 +34,13 @@
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <err.h>
|
||||
#ifdef __FreeBSD__
|
||||
/*
|
||||
* Needed to avoid libutil.h pollution in stdio.h, which causes grief with
|
||||
* with hexdump(3) in lib/libc/db/h_hash.c
|
||||
*/
|
||||
#include <libutil.h>
|
||||
#endif
|
||||
|
||||
#define WS "\t\n "
|
||||
#define debug 0
|
||||
|
@ -36,6 +36,13 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#ifdef __FreeBSD__
|
||||
/*
|
||||
* Needed to avoid libutil.h pollution in stdio.h, which causes grief with
|
||||
* with hexdump(3) in lib/libc/db/h_hash.c
|
||||
*/
|
||||
#include <libutil.h>
|
||||
#endif
|
||||
|
||||
#define SKIPWS(p) while (isspace((int)(*p))) p++
|
||||
#define WS "\t\n "
|
||||
|
Loading…
Reference in New Issue
Block a user