cleaned up includes with iwyu

This commit is contained in:
mayurdahibhate
2021-04-29 20:42:43 +05:30
committed by BenBE
parent d9c95369bc
commit 1b74dfe187
71 changed files with 92 additions and 29 deletions

View File

@ -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);

View File

@ -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"