altstack: Include config.h in run.c
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 15 Feb 2016 11:43:07 +0000 (22:43 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 15 Feb 2016 11:43:07 +0000 (22:43 +1100)
commitc9b3a91ce2d91f92054f22131ced091d6bcf836e
tree8fd6979c96d0cc057d361028c2ad77435ffbb761
parenta4e6f6cb0cf28d30173f340c2ae8790776914529
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: David Gibson <david@gibson.dropbear.id.au>
ccan/altstack/test/run.c