diff lib-src/ebrowse.c @ 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 99864bb6de1e
children 542ef74db0d2
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.  */