Fix lseek arg by including unistd.h
This commit is contained in:
parent
85e8f5bee2
commit
ee0aa83a01
@ -42,6 +42,7 @@ up-to-date. Many thanks.
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#ifdef SYSV
|
||||
#include <sys/fcntl.h>
|
||||
#define L_SET SEEK_SET
|
||||
|
@ -42,9 +42,9 @@ up-to-date. Many thanks.
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef SYSV
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#ifdef SYSV
|
||||
#define L_SET SEEK_SET
|
||||
#define L_INCR SEEK_CUR
|
||||
#include <memory.h>
|
||||
|
Loading…
Reference in New Issue
Block a user