Commit c9b3a91c authored by David Gibson's avatar David Gibson

altstack: Include config.h in run.c

ccan programs should always include config.h before anything else to make
sure everything is set up correctly.  Doing so in altstack's run.c means
it no longer needs an explicit _XOPEN_SOURCE 700, since _GNU_SOURCE is set
in config.h (for GNU libc, anyway).
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent a4e6f6cb
#include "config.h"
#include <assert.h>
#include <err.h>
#include <errno.h>
......@@ -8,7 +9,6 @@
#include <sys/mman.h>
#include <ccan/tap/tap.h>
#include <ccan/altstack/altstack.h>
#define _XOPEN_SOURCE 700
#include <stdio.h>
enum {
......
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