FreeBSD compat
Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
271c0ce379
commit
e3c127d846
@@ -38,6 +38,12 @@
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/param.h>
|
||||
#ifndef HAVE_CLEARENV
|
||||
# define clearenv() do { if (environ) environ[0] = NULL; } while (0)
|
||||
#endif
|
||||
#ifndef HAVE_FDATASYNC
|
||||
# define fdatasync fsync
|
||||
#endif
|
||||
#ifdef HAVE_MNTENT_H
|
||||
# include <mntent.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user