diff options
| author | Anthony Roussel <anthony@roussel.dev> | 2023-11-10 01:00:21 +0100 |
|---|---|---|
| committer | Anthony Roussel <anthony@roussel.dev> | 2023-11-10 12:46:52 +0100 |
| commit | 28b9e1a3258c14d91ec77090587efd53441a35c1 (patch) | |
| tree | 3e50d0f5ebf7e1712ae115ea1f2de1e7261084b6 /pkgs/development/python-modules/rangehttpserver | |
| parent | 07b8ca7ea175152787c4d3448e6098dd5c2de2b5 (diff) | |
xprintidle-ng: fix build
Fixes the config.h include error during build:
```console
In file included from src/xprintidle-ng.c:36:
lib/time.h:28:3: error: #error "Please include config.h first."
28 | #error "Please include config.h first."
| ^~~~~
```
Introduced since gnulib upgrade:
* https://github.com/coreutils/gnulib/commit/8ad7bc6
* https://lists.gnu.org/archive/html/bug-gnulib/2023-04/msg00088.html
* https://www.gnu.org/software/gnulib/manual/html_node/Source-changes.html
The last version of gnulib now checks that config.h is the first include
in every compilation unit.
This is not the case with the xprintidle-ng source code, so this patch
moves these `config.h` inclusions to be first.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
