mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Fix lseek arg by including unistd.h
This commit is contained in:
parent
85e8f5bee2
commit
ee0aa83a01
2 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue