aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-08-16 16:05:19 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-08-16 16:05:19 +0200
commit91ae020f5a9c43ab319edce64355ca95a5f8dfad (patch)
tree222038f5e33b52df31086cb630c813f3a29bb775
parent9fb237a1c861f3b6a014f7add3f564452ea23e61 (diff)
downloadglibc-91ae020f5a9c43ab319edce64355ca95a5f8dfad.zip
glibc-91ae020f5a9c43ab319edce64355ca95a5f8dfad.tar.gz
glibc-91ae020f5a9c43ab319edce64355ca95a5f8dfad.tar.bz2
support: Remove #include <config.h>
This is not needed: include/intprops.h has its own detection logic. It makes building these files outside of glibc easer. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r--support/timespec-add.c1
-rw-r--r--support/timespec-sub.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/support/timespec-add.c b/support/timespec-add.c
index 55fd812..57b968c 100644
--- a/support/timespec-add.c
+++ b/support/timespec-add.c
@@ -20,7 +20,6 @@
/* Return the sum of two timespec values A and B. On overflow, return
an extremal value. This assumes 0 <= tv_nsec < TIMESPEC_HZ. */
-#include <config.h>
#include "timespec.h"
#include "intprops.h"
diff --git a/support/timespec-sub.c b/support/timespec-sub.c
index 7d89c14..2897343 100644
--- a/support/timespec-sub.c
+++ b/support/timespec-sub.c
@@ -21,7 +21,6 @@
overflow, return an extremal value. This assumes 0 <= tv_nsec <
TIMESPEC_HZ. */
-#include <config.h>
#include "timespec.h"
#include "intprops.h"