ladybird/Userland/Libraries/LibC/sys/statvfs.h
Emily Trau abc150085f LibC: Add missing sys/cdefs.h include
Some header files use __BEGIN_DECLS without including sys/cdefs.h.
This causes issues for C code that compiles against these headers,
which may occur with Ports.
2022-08-23 19:07:12 +01:00

17 lines
324 B
C

/*
* Copyright (c) 2021, Justin Mietzner <sw1tchbl4d3@sw1tchbl4d3.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <Kernel/API/POSIX/sys/statvfs.h>
#include <sys/cdefs.h>
__BEGIN_DECLS
int statvfs(char const* path, struct statvfs* buf);
int fstatvfs(int fd, struct statvfs* buf);
__END_DECLS