aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/fakemail.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib-src/fakemail.c b/lib-src/fakemail.c
index 588496a8ed4..7ca3ae50d0d 100644
--- a/lib-src/fakemail.c
+++ b/lib-src/fakemail.c
@@ -18,12 +18,9 @@ along with GNU Emacs; see the file COPYING. If not, write to
18the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */ 19Boston, MA 02111-1307, USA. */
20 20
21
22/* This is needed to get the declaration of cuserid in GNU libc. */
23#define _XOPEN_SOURCE 1
24
25#define NO_SHORTNAMES 21#define NO_SHORTNAMES
26#include <../src/config.h> 22#define _XOPEN_SOURCE 500 /* for cuserid */
23#include <config.h>
27 24
28#if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL) 25#if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
29/* This program isnot used in BSD, so just avoid loader complaints. */ 26/* This program isnot used in BSD, so just avoid loader complaints. */