Move <utsname.h> to <sys/utsname.h> for correctness.

This commit is contained in:
Andreas Kling 2018-11-09 10:24:41 +01:00
parent 8249c086c3
commit 7b3b5f745f
Notes: sideshowbarker 2024-07-19 18:31:15 +09:00
4 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
#include "utsname.h" #include <sys/utsname.h>
#include "errno.h" #include <errno.h>
#include <Kernel/Syscall.h> #include <Kernel/Syscall.h>
extern "C" { extern "C" {

View file

@ -1,12 +1,12 @@
#include <stdio.h>
#include <unistd.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <utsname.h>
#include <pwd.h> #include <pwd.h>
#include <sys/mman.h>
#include <signal.h> #include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/utsname.h>
#include <AK/FileSystemPath.h> #include <AK/FileSystemPath.h>
struct GlobalState { struct GlobalState {

View file

@ -1,5 +1,5 @@
#include <utsname.h>
#include <stdio.h> #include <stdio.h>
#include <sys/utsname.h>
int main(int argc, char** argv) int main(int argc, char** argv)
{ {