Browse Source

use <fcntl.h> and not <sys/fcntl.h>

master
Felix von Leitner 18 years ago
parent
commit
27c0b953eb
  1. 2
      open/open_append.c
  2. 2
      open/open_excl.c
  3. 2
      open/open_read.c
  4. 2
      open/open_trunc.c
  5. 2
      open/open_write.c

2
open/open_append.c

@ -1,5 +1,5 @@
#include <unistd.h>
#include <sys/fcntl.h>
#include <fcntl.h>
#include "open.h"
extern int open_append(const char *filename) {

2
open/open_excl.c

@ -1,5 +1,5 @@
#include <unistd.h>
#include <sys/fcntl.h>
#include <fcntl.h>
#include "open.h"
extern int open_excl(const char *filename) {

2
open/open_read.c

@ -1,5 +1,5 @@
#include <unistd.h>
#include <sys/fcntl.h>
#include <fcntl.h>
#include "open.h"
extern int open_read(const char *filename) {

2
open/open_trunc.c

@ -1,5 +1,5 @@
#include <unistd.h>
#include <sys/fcntl.h>
#include <fcntl.h>
#include "open.h"
extern int open_trunc(const char *filename) {

2
open/open_write.c

@ -1,5 +1,5 @@
#include <unistd.h>
#include <sys/fcntl.h>
#include <fcntl.h>
#include "open.h"
extern int open_write(const char *filename) {

Loading…
Cancel
Save