use <fcntl.h> and not <sys/fcntl.h>
This commit is contained in:
parent
35e0e1a7c0
commit
4ef284ccd5
@ -1,5 +1,5 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/fcntl.h>
|
#include <fcntl.h>
|
||||||
#include "open.h"
|
#include "open.h"
|
||||||
|
|
||||||
extern int open_append(const char *filename) {
|
extern int open_append(const char *filename) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/fcntl.h>
|
#include <fcntl.h>
|
||||||
#include "open.h"
|
#include "open.h"
|
||||||
|
|
||||||
extern int open_excl(const char *filename) {
|
extern int open_excl(const char *filename) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/fcntl.h>
|
#include <fcntl.h>
|
||||||
#include "open.h"
|
#include "open.h"
|
||||||
|
|
||||||
extern int open_read(const char *filename) {
|
extern int open_read(const char *filename) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/fcntl.h>
|
#include <fcntl.h>
|
||||||
#include "open.h"
|
#include "open.h"
|
||||||
|
|
||||||
extern int open_trunc(const char *filename) {
|
extern int open_trunc(const char *filename) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/fcntl.h>
|
#include <fcntl.h>
|
||||||
#include "open.h"
|
#include "open.h"
|
||||||
|
|
||||||
extern int open_write(const char *filename) {
|
extern int open_write(const char *filename) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user