#define _GNU_SOURCE #include #include "__time.h" time_t timegm(struct tm *tm) { return __tm_to_time(tm); }