Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
5fcc3b95
...
5fcc3b95dd021063e2bf2cb3e366c1c7acf9d818
authored
2005-08-16 14:51:55 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Avoid redefinition of _XOPEN_SOURCE
1 parent
5bf74ddf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
auth/sql.h
mailbox/imap/folder.c
mailbox/maildir/mbox.c
mailbox/mbox/mbox0.h
mailbox/mh/mbox.c
auth/sql.h
View file @
5fcc3b9
...
...
@@ -19,7 +19,9 @@
#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>
#define _XOPEN_SOURCE
#ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE
#endif
#include <unistd.h>
#include <pwd.h>
#include <errno.h>
...
...
mailbox/imap/folder.c
View file @
5fcc3b9
...
...
@@ -82,7 +82,7 @@ static struct _record _imap_record =
via the register entry/record. */
record_t
imap_record
=
&
_imap_record
;
#ifndef HAVE_
DECL_
STRTOK_R
#ifndef HAVE_STRTOK_R
char
*
strtok_r
(
char
*
,
const
char
*
,
char
**
);
#endif
...
...
mailbox/maildir/mbox.c
View file @
5fcc3b9
...
...
@@ -40,7 +40,9 @@
#ifdef WITH_PTHREAD
# ifdef HAVE_PTHREAD_H
# define _XOPEN_SOURCE 500
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 500
# endif
# include <pthread.h>
# endif
#endif
...
...
mailbox/mbox/mbox0.h
View file @
5fcc3b9
...
...
@@ -31,7 +31,9 @@
#ifdef WITH_PTHREAD
# ifdef HAVE_PTHREAD_H
# define _XOPEN_SOURCE 500
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 500
# endif
# include <pthread.h>
# endif
#endif
...
...
mailbox/mh/mbox.c
View file @
5fcc3b9
...
...
@@ -38,7 +38,9 @@
#ifdef WITH_PTHREAD
# ifdef HAVE_PTHREAD_H
# define _XOPEN_SOURCE 500
# ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 500
# endif
# include <pthread.h>
# endif
#endif
...
...
Please
register
or
sign in
to post a comment