1
0
forked from bip/bip

Ugly header fixups to fix build

This commit is contained in:
Arnaud Cornet 2010-02-15 14:22:00 +00:00
parent 2e5f4287ff
commit 7c0b6036f2
2 changed files with 3 additions and 2 deletions

View File

@ -11,6 +11,8 @@
* See the file "COPYING" for the exact licensing terms.
*/
#define _XOPEN_SOURCE 500
#include "config.h"
#include "log.h"
#include "irc.h"
@ -954,7 +956,6 @@ char *log_beautify(log_t *logdata, const char *buf, const char *storename,
static time_t compute_time(const char *buf)
{
struct tm tm;
int err;
time_t tv;
/* this is to fill tm_isdst to current tm, expect brokennes when dst

View File

@ -13,7 +13,7 @@
#ifndef LOG_H
#define LOG_H
#define _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>