From 75c911eb15a2aa6519b98af74ef9cbb6d8b76783 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 1 Sep 2001 18:22:38 +0000 Subject: [PATCH] (SEEK_END): #define if not defined by system headers. Suggested by Dave Love . --- lib-src/ChangeLog | 5 +++++ lib-src/ebrowse.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 222bd29383a..3ce70406a75 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,8 @@ +2001-09-01 Eli Zaretskii + + * ebrowse.c (SEEK_END): #define if not defined by system headers. + Suggested by Dave Love . + 2001-08-29 Eli Zaretskii * makefile.nt (lisp): Synchronize with src/Makefile.in. diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index b274a641044..38a9b65987c 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c @@ -34,6 +34,11 @@ #include #include "getopt.h" +/* The SunOS compiler doesn't have SEEK_END. */ +#ifndef SEEK_END +#define SEEK_END 2 +#endif + /* Conditionalize function prototypes. */ #ifdef PROTOTYPES /* From config.h. */ -- 2.39.5