From 38da63051a83ab4237c4abec7e4745851523875f Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 9 Mar 2016 15:49:36 +0100 Subject: [PATCH] fix #if HAVE_HEADACHE --- src/xbt/automaton/automatonparse_promela.c | 4 ++-- src/xbt/xbt_log_layout_format.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xbt/automaton/automatonparse_promela.c b/src/xbt/automaton/automatonparse_promela.c index 2cae6d53d0..d62c20dabd 100644 --- a/src/xbt/automaton/automatonparse_promela.c +++ b/src/xbt/automaton/automatonparse_promela.c @@ -6,12 +6,12 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include "xbt/automaton.h" #include "src/internal_config.h" +#include "xbt/automaton.h" #include #include /* strerror */ #if HAVE_UNISTD_H -#include /* isatty */ +# include /* isatty */ #endif static xbt_automaton_t parsed_automaton; diff --git a/src/xbt/xbt_log_layout_format.c b/src/xbt/xbt_log_layout_format.c index 372ed4e90a..b93ecadddc 100644 --- a/src/xbt/xbt_log_layout_format.c +++ b/src/xbt/xbt_log_layout_format.c @@ -16,7 +16,7 @@ #include "surf/surf.h" #include -#ifdef HAVE_EXECINFO_H +#if HAVE_EXECINFO_H # include /* Function backtrace */ #endif -- 2.20.1