aboutsummaryrefslogtreecommitdiffstats
path: root/src/parse_time.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/parse_time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parse_time.h b/src/parse_time.h
index 8e74607..efe5ad5 100644
--- a/src/parse_time.h
+++ b/src/parse_time.h
@@ -19,6 +19,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#if !defined(_POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 199309L)
+# define _POSIX_C_SOURCE 199309L
+#endif
#include <time.h>