aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab1998-04-06 10:15:16 +0000
committerAndreas Schwab1998-04-06 10:15:16 +0000
commitcb58ebb0cb727984444434c92cd3bd99e8f6bc04 (patch)
treedd2442909b6f647dc131e182597f303507b9ccf1
parent4e7ef1d6c58795f33fbf49f4d57289669b5dfeae (diff)
downloademacs-cb58ebb0cb727984444434c92cd3bd99e8f6bc04.tar.gz
emacs-cb58ebb0cb727984444434c92cd3bd99e8f6bc04.zip
(_XOPEN_SOURCE): Define for declaration of cuserid.
(parse_header): Explicitly declare return type.
-rw-r--r--lib-src/fakemail.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c
index 73898c6fb87..eca660e6808 100644
--- a/lib-src/fakemail.c
+++ b/lib-src/fakemail.c
@@ -19,6 +19,9 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */ 19Boston, MA 02111-1307, USA. */
20 20
21 21
22/* This is needed to get the declaration of cuserid in GNU libc. */
23#define _XOPEN_SOURCE 1
24
22#define NO_SHORTNAMES 25#define NO_SHORTNAMES
23#include <../src/config.h> 26#include <../src/config.h>
24 27
@@ -599,6 +602,7 @@ args_size (the_header)
599 602
600 Also, if the header has any FCC fields, call setup_files for each one. */ 603 Also, if the header has any FCC fields, call setup_files for each one. */
601 604
605void
602parse_header (the_header, where) 606parse_header (the_header, where)
603 header the_header; 607 header the_header;
604 register char *where; 608 register char *where;