diff --git a/cde/lib/csa/iso8601.c b/cde/lib/csa/iso8601.c index f46ac9fa1..911468713 100644 --- a/cde/lib/csa/iso8601.c +++ b/cde/lib/csa/iso8601.c @@ -28,6 +28,10 @@ * (c) Copyright 1993, 1994 Sun Microsystems, Inc. */ +#if defined(__linux__) || defined(CSRG_BASED) +# define _GNU_SOURCE +#endif + #include #define XOS_USE_NO_LOCKING #define X_INCLUDE_TIME_H