summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-09-07 12:27:57 +0200
committerBastien Nocera <hadess@hadess.net>2021-09-07 17:20:48 +0200
commit0fd6b11085da1f20d5442924f109b1af7c6155b1 (patch)
tree5f21203bd66079e3f43b962da0805e20ad745549 /tools
parent5f4d16ad4d525431092dc47492ff3ee982b4d518 (diff)
downloadupower-0fd6b11085da1f20d5442924f109b1af7c6155b1.tar.gz
all: Remove HAVE_CONFIG_H conditional
We always have a config.h now, and don't rely on autotools setting this cflags for us to know it.
Diffstat (limited to 'tools')
-rw-r--r--tools/up-tool.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/up-tool.c b/tools/up-tool.c
index eeee0b4..d993b1b 100644
--- a/tools/up-tool.c
+++ b/tools/up-tool.c
@@ -19,9 +19,7 @@
*
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>