Include correct header for poll()

This commit is contained in:
Martin Lund 2024-05-16 19:16:17 +02:00
parent ee3687430b
commit ccc01433b7
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <time.h> #include <time.h>
#include <errno.h> #include <errno.h>
#include <sys/poll.h> #include <poll.h>
#include <termios.h> #include <termios.h>
#include "error.h" #include "error.h"
#include "print.h" #include "print.h"

View file

@ -22,7 +22,7 @@
#define _GNU_SOURCE // For FNM_EXTMATCH #define _GNU_SOURCE // For FNM_EXTMATCH
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <sys/poll.h> #include <poll.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <fnmatch.h> #include <fnmatch.h>
#include <regex.h> #include <regex.h>