diff options
| author | Dave Love | 2000-02-04 17:45:44 +0000 |
|---|---|---|
| committer | Dave Love | 2000-02-04 17:45:44 +0000 |
| commit | 9b7c9ebd68811438273b48faa1bda5778a7172eb (patch) | |
| tree | 8a62be4b68a49f52c3e5153a179cab4d3fdc5bae /src | |
| parent | be95a9b6662c3a3c3f148b06c76afde3c02682bc (diff) | |
| download | emacs-9b7c9ebd68811438273b48faa1bda5778a7172eb.tar.gz emacs-9b7c9ebd68811438273b48faa1bda5778a7172eb.zip | |
(_XOPEN_SOURCE): Declare (for ftello).
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 5 |
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 | } |