Commit 47a5ab6b 47a5ab6b6717268111d098234be652fb1f63b131 by Sergey Poznyakoff

Conditionally include gnu/argp.h

1 parent de63e9ff
...@@ -20,7 +20,11 @@ ...@@ -20,7 +20,11 @@
20 20
21 #include <mailutils/types.h> 21 #include <mailutils/types.h>
22 22
23 #include <argp.h> 23 #ifdef HAVE_ARGP_H
24 # include <argp.h>
25 #else
26 # include <mailutils/gnu/argp.h>
27 #endif
24 28
25 #define MODE_INTERACTIVE 0 29 #define MODE_INTERACTIVE 0
26 #define MODE_DAEMON 1 30 #define MODE_DAEMON 1
......