htop/linux
Kang-Che Sung (宋岡哲) c01f40eb3e Fix build failure ('major' undefined) in glibc 2.28. (#746)
glibc 2.28 no longer defines 'major' and 'minor' in <sys/types.h> and
requires us to include <sys/sysmacros.h>. (glibc 2.25 starts
deprecating the macros in <sys/types.h>.) Now do include the latter if
found on the system.

At the moment, let's also utilize AC_HEADER_MAJOR in configure script.
However as Autoconf 2.69 has not yet updated the AC_HEADER_MAJOR macro
to reflect the glibc change [1], so add a workaround code.

Fixes #663. Supersedes pull request #729.

Reference:
[1] https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=e17a30e987d7ee695fb4294a82d987ec3dc9b974

Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
2018-02-26 10:15:05 -03:00
..
Battery.c linux/Battery.c: make sure fd is always closed 2018-02-18 10:21:22 -03:00
Battery.h Optimize Strings_startWith() 2016-08-11 10:49:35 +08:00
IOPriority.c Set idle I/O prio to 0x6007, like ionice. 2017-07-05 15:20:48 -03:00
IOPriority.h Set idle I/O prio to 0x6007, like ionice. 2017-07-05 15:20:48 -03:00
IOPriorityPanel.c Security review: check results of snprintf. 2017-07-27 16:07:50 -03:00
IOPriorityPanel.h Files moved and added for supporting separate platforms. 2014-11-24 18:55:49 -02:00
LinuxCRT.c Fix spelling of "maintainer" 2016-01-02 12:11:26 -05:00
LinuxCRT.h Move platform-dependent parts of Linux battery meter. 2014-11-27 21:04:57 -02:00
LinuxProcess.c Add support for Linux TASK_IDLE 2018-02-04 16:44:21 +01:00
LinuxProcess.h Adds support for linux delay accounting (#667) 2017-12-04 00:15:29 -02:00
LinuxProcessList.c Fix build failure ('major' undefined) in glibc 2.28. (#746) 2018-02-26 10:15:05 -03:00
LinuxProcessList.h Adds support for linux delay accounting (#667) 2017-12-04 00:15:29 -02:00
Platform.c Replace size_t with int/void* union 2018-02-18 10:38:49 -03:00
Platform.h Mark signal tables 'const' 2016-08-30 20:41:17 +08:00