diff options
Diffstat (limited to 'mpick.c')
-rw-r--r-- | mpick.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mpick.c b/mpick.c index 9e30aab..56b4200 100644 --- 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> |