summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-04-06 10:15:16 +0000
committerAndreas Schwab <schwab@suse.de>1998-04-06 10:15:16 +0000
commitcb58ebb0cb727984444434c92cd3bd99e8f6bc04 (patch)
treedd2442909b6f647dc131e182597f303507b9ccf1 /lib-src
parent4e7ef1d6c58795f33fbf49f4d57289669b5dfeae (diff)
downloademacs-cb58ebb0cb727984444434c92cd3bd99e8f6bc04.tar.gz
(_XOPEN_SOURCE): Define for declaration of cuserid.
(parse_header): Explicitly declare return type.
Diffstat (limited to 'lib-src')
-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,
Boston, MA 02111-1307, USA. */
+/* This is needed to get the declaration of cuserid in GNU libc. */
+#define _XOPEN_SOURCE 1
+
#define NO_SHORTNAMES
#include <../src/config.h>
@@ -599,6 +602,7 @@ args_size (the_header)
Also, if the header has any FCC fields, call setup_files for each one. */
+void
parse_header (the_header, where)
header the_header;
register char *where;