in tools.c, add defines to permit import of timegm

This commit is contained in:
Benjamin Dauvergne 2010-02-17 10:14:44 +00:00
parent 017ebd33f9
commit 39d4444475
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,9 @@
/* permit importation of strptime for glibc2 */
#define _XOPEN_SOURCE
/* permit importation of timegm for glibc2, wait for people to complain it does not work on their
* system. */
#define _BSD_SOURCE
#include "private.h"
#include <string.h>
#include <time.h>