changeset 39076:fe37d7c5eae2

(SEEK_END): #define if not defined by system headers. Suggested by Dave Love <d.love@dl.ac.uk>.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 01 Sep 2001 18:21:50 +0000
parents 8722aa0ae475
children b0080041c3c5
files lib-src/ebrowse.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ebrowse.c	Sat Sep 01 18:03:16 2001 +0000
+++ b/lib-src/ebrowse.c	Sat Sep 01 18:21:50 2001 +0000
@@ -34,6 +34,11 @@
 #include <assert.h>
 #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.  */