In sa_log.c, add _GNU_SOURCE define for strerror_r. The use of strerror_r in sa_log.c requires the GNU specific version of this function, not the XSI one. I probably messed this up when I was moving things around.
Signed-off-by: Chris Leech <[email protected]> --- lib/sa_log.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/sa_log.c b/lib/sa_log.c index 91c256f..498b08b 100644 --- a/lib/sa_log.c +++ b/lib/sa_log.c @@ -17,6 +17,7 @@ * Maintained at www.Open-FCoE.org */ +#define _GNU_SOURCE /* for GNU definition of strerror_r */ #include "fcoemon_utils.h" #include "net_types.h" #include "fc_types.h" _______________________________________________ devel mailing list [email protected] http://www.open-fcoe.org/mailman/listinfo/devel
