1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

LibC: Some compat fixes for GNU make.

This commit is contained in:
Andreas Kling 2019-05-22 13:21:49 +02:00
parent f490ce0fb5
commit e388808479
4 changed files with 24 additions and 5 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include <sys/cdefs.h>
#include <sys/types.h>
__BEGIN_DECLS
@ -54,4 +55,17 @@ __BEGIN_DECLS
int fcntl(int fd, int cmd, ...);
#define F_WRLCK 1
#define F_UNLCK 2
#define F_SETLKW 7
struct flock {
short l_type;
short l_whence;
off_t l_start;
off_t l_len;
pid_t l_pid;
};
__END_DECLS