mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 17976348d132990fbcbcc5eda3f7f4bf005d3a7f
parent c87201e4b72c9e0959d5ffae1b09d519bee91139
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Thu, 28 Jul 2016 17:53:40 +0200

mpick: portability

Diffstat:
mpick.c | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/mpick.c b/mpick.c @@ -1,4 +1,13 @@ +// FNM_CASEFOLD, strptime #define _GNU_SOURCE +#ifndef _XOPEN_SOURCE +#define _XOPEN_SOURCE 700 +#endif + +/* For Solaris. */ +#if !defined(FNM_CASEFOLD) && defined(FNM_IGNORECASE) +#define FNM_CASEFOLD FNM_IGNORECASE +#endif #include <sys/ioctl.h> #include <sys/stat.h> @@ -11,6 +20,7 @@ #include <stdlib.h> #include <stdarg.h> #include <string.h> +#include <strings.h> #include <time.h> #include <unistd.h> #include <wchar.h>