changeset 21389:48690fd8d40a

(_XOPEN_SOURCE): Define for declaration of cuserid. (parse_header): Explicitly declare return type.
author Andreas Schwab <schwab@suse.de>
date Mon, 06 Apr 1998 10:15:16 +0000
parents 1a8c44e38d9c
children 5ade0c90128e
files lib-src/fakemail.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/fakemail.c	Mon Apr 06 10:14:26 1998 +0000
+++ b/lib-src/fakemail.c	Mon Apr 06 10:15:16 1998 +0000
@@ -19,6 +19,9 @@
 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 @@
 
    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;