aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love2000-02-04 17:45:44 +0000
committerDave Love2000-02-04 17:45:44 +0000
commit9b7c9ebd68811438273b48faa1bda5778a7172eb (patch)
tree8a62be4b68a49f52c3e5153a179cab4d3fdc5bae /src
parentbe95a9b6662c3a3c3f148b06c76afde3c02682bc (diff)
downloademacs-9b7c9ebd68811438273b48faa1bda5778a7172eb.tar.gz
emacs-9b7c9ebd68811438273b48faa1bda5778a7172eb.zip
(_XOPEN_SOURCE): Declare (for ftello).
Diffstat (limited to 'src')
-rw-r--r--src/lread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lread.c b/src/lread.c
index 1f24ecbf868..6b234d39c93 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */
21 21
22 22
23#include <config.h> 23#include <config.h>
24#define _XOPEN_SOURCE 500 /* for Unix 98 ftello on GNU */
24#include <stdio.h> 25#include <stdio.h>
25#include <sys/types.h> 26#include <sys/types.h>
26#include <sys/stat.h> 27#include <sys/stat.h>
@@ -608,8 +609,8 @@ Return t if file exists.")
608 609
609 fd = openp (Vload_path, file, 610 fd = openp (Vload_path, file,
610 (!NILP (nosuffix) ? "" 611 (!NILP (nosuffix) ? ""
611 : ! NILP (must_suffix) ? ".elc:.el" 612 : ! NILP (must_suffix) ? ".elc.gz:.elc:.el.gz:.el"
612 : ".elc:.el:"), 613 : ".elc:.elc.gz:.el.gz:.el:"),
613 &found, 0); 614 &found, 0);
614 UNGCPRO; 615 UNGCPRO;
615 } 616 }