diff options
author | ache <ache@FreeBSD.org> | 1995-06-17 04:07:09 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-06-17 04:07:09 +0000 |
commit | 4137dcf51eb6345e3634175d32e7de4ee84eb893 (patch) | |
tree | b629997e4f4e967e3a30543c66a358a7421f7100 /usr.bin/gencat | |
parent | 3e0e2d1182845f613a9a258bb2e2c581ed9a60c9 (diff) | |
download | FreeBSD-src-4137dcf51eb6345e3634175d32e7de4ee84eb893.zip FreeBSD-src-4137dcf51eb6345e3634175d32e7de4ee84eb893.tar.gz |
Fix lseek arg by including unistd.h
Diffstat (limited to 'usr.bin/gencat')
-rw-r--r-- | usr.bin/gencat/gencat.c | 1 | ||||
-rw-r--r-- | usr.bin/gencat/genlib.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/gencat/gencat.c b/usr.bin/gencat/gencat.c index 7c9a8e0..37c7990 100644 --- a/usr.bin/gencat/gencat.c +++ b/usr.bin/gencat/gencat.c @@ -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 diff --git a/usr.bin/gencat/genlib.c b/usr.bin/gencat/genlib.c index 30275f1..f592be0 100644 --- a/usr.bin/gencat/genlib.c +++ b/usr.bin/gencat/genlib.c @@ -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> |