Android appears to lack SIG_ATOMIC_MAX which is only used in fatal-signal.c.
Observed when compiling using the Android NDK r6b (Android API level 13). Patch based on a suggestion by Ben Pfaff --- lib/fatal-signal.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/lib/fatal-signal.c b/lib/fatal-signal.c index c7e87db..a6ce1b7 100644 --- a/lib/fatal-signal.c +++ b/lib/fatal-signal.c @@ -32,6 +32,12 @@ #include "util.h" #include "vlog.h" +#include "type-props.h" + +#ifndef SIG_ATOMIC_MAX +#define SIG_ATOMIC_MAX TYPE_MAXIMUM(sig_atomic_t) +#endif + VLOG_DEFINE_THIS_MODULE(fatal_signal); /* Signals to catch. */ -- 1.7.5.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev