database: isolate linux-specific mountpoint headers

cute-signatures
Ariadne Conill 2021-12-29 11:36:14 -06:00 committed by Timo Teräs
parent de15d4adbb
commit 6344a0eedb
1 changed files with 8 additions and 5 deletions

View File

@ -10,7 +10,6 @@
#include <errno.h>
#include <stdio.h>
#include <fcntl.h>
#include <mntent.h>
#include <libgen.h>
#include <limits.h>
#include <unistd.h>
@ -18,13 +17,17 @@
#include <stdlib.h>
#include <signal.h>
#include <fnmatch.h>
#include <sys/vfs.h>
#include <sys/file.h>
#include <sys/wait.h>
#include <sys/stat.h>
#ifdef __linux__
# include <mntent.h>
# include <sys/vfs.h>
# include <sys/mount.h>
# include <sys/statvfs.h>
# include <linux/magic.h>
#endif
#include "apk_defines.h"
#include "apk_package.h"