Fix lseek arg by including unistd.h

This commit is contained in:
Andrey A. Chernov 1995-06-17 04:07:09 +00:00
parent 85e8f5bee2
commit ee0aa83a01
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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>