diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-04 23:25:33 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-04 23:25:33 +0000 |
commit | 0068435e586545bf338361ca5b80f152dc26b1a4 (patch) | |
tree | 86b082498851f00002bea2a9ebad744bd0892a1f /include | |
parent | 79cd36bed981ac58c80d308424b455f6a69e400b (diff) | |
download | mailutils-0068435e586545bf338361ca5b80f152dc26b1a4.tar.gz mailutils-0068435e586545bf338361ca5b80f152dc26b1a4.tar.bz2 |
Include local copy of getopt.h if the system does not provide one.
Diffstat (limited to 'include')
-rw-r--r-- | include/mailutils/gnu/argp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/mailutils/gnu/argp.h b/include/mailutils/gnu/argp.h index 244265c9a..5fb9b32ba 100644 --- a/include/mailutils/gnu/argp.h +++ b/include/mailutils/gnu/argp.h @@ -23,7 +23,12 @@ #include <stdio.h> #include <ctype.h> -#include <getopt.h> +#ifdef HAVE_GETOPT_H +# include <getopt.h> +#else +# include <mailutils/gnu/getopt.h> +#endif + #define __need_error_t #include <errno.h> |