mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 13:04:35 +03:00
cleaned up includes with iwyu
This commit is contained in:
@ -9,7 +9,6 @@ in the source distribution for its full text.
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
void Generic_gettime_realtime(struct timeval* tvp, uint64_t* msec);
|
||||
|
@ -6,15 +6,18 @@ in the source distribution for its full text.
|
||||
*/
|
||||
#include "config.h" // IWYU pragma: keep
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "Macros.h"
|
||||
#include "XUtils.h"
|
||||
#include "generic/uname.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#ifdef HAVE_SYS_UTSNAME_H
|
||||
#include <sys/utsname.h>
|
||||
#endif
|
||||
|
||||
#include "XUtils.h"
|
||||
|
||||
|
||||
#ifndef OSRELEASEFILE
|
||||
#define OSRELEASEFILE "/etc/os-release"
|
||||
|
Reference in New Issue
Block a user