From: Andreas Schwab Date: Mon, 6 Apr 1998 10:15:16 +0000 (+0000) Subject: (_XOPEN_SOURCE): Define for declaration of cuserid. X-Git-Tag: emacs-20.3~1685 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb58ebb0cb727984444434c92cd3bd99e8f6bc04;p=emacs.git (_XOPEN_SOURCE): Define for declaration of cuserid. (parse_header): Explicitly declare return type. --- 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;