summaryrefslogtreecommitdiffstats
path: root/src/kernel/tests/include/lapi/ustat.h
blob: 98633e7494e2ac557ec0e720e65745fc006badd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//SPDX-License-Identifier: GPL-2.0-or-later

#ifndef LAPI_USTAT_H
#define LAPI_USTAT_H

#include "config.h"

#include <sys/types.h>

#ifdef HAVE_SYS_USTAT_H
# include <sys/ustat.h>
#elif HAVE_LINUX_TYPES_H
# include <linux/types.h>
struct ustat {
	__kernel_daddr_t f_tfree;
	ino_t f_tinode;
	char f_fname[6];
	char f_fpack[6];
};
#endif

#endif /* LAPI_USTAT_H */