Commit 87c2b6ce authored by Rusty Russell's avatar Rusty Russell

tdb: don't define _XOPEN_SOURCE ourselves, let config.h do it.

This is the CCAN Way.  Plus, eliminates a compile warning here.
parent 448b9194
......@@ -33,7 +33,7 @@
#include "system/select.h"
#include "system/wait.h"
#else
#define _XOPEN_SOURCE 500
#include "config.h"
#define _FILE_OFFSET_BITS 64
#include <stdint.h>
#include <stdbool.h>
......@@ -46,7 +46,6 @@
#include <errno.h>
#include <stdio.h>
#include <utime.h>
#include "config.h"
#endif
#include "tdb.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment