aboutsummaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2024-06-24 21:55:47 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-06-24 23:28:21 +0200
commitc60efab86ea82158ae26be56c1bc8684cd54c61b (patch)
tree69572712e41f377a553529fa011eb39f8a67354c /pfinet
parent529d72a57521ff077dcca45e573b7592059b1061 (diff)
downloadhurd-c60efab86ea82158ae26be56c1bc8684cd54c61b.tar.gz
hurd-c60efab86ea82158ae26be56c1bc8684cd54c61b.tar.bz2
hurd-c60efab86ea82158ae26be56c1bc8684cd54c61b.zip
Include unistd.h for sleep in pfinet/ethernet.c
Compilation fails otherwise due to -Werror=implicit-function-declaration Message-ID: <uuxfc5gjinlekgdyjzxesz72t6dabbl6s2f2n2fi7iw2bi5nl5@js7sx73kagmd>
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/ethernet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c
index 9eb33bb6..ae738de5 100644
--- a/pfinet/ethernet.c
+++ b/pfinet/ethernet.c
@@ -30,6 +30,7 @@
#include <string.h>
#include <error.h>
#include <fcntl.h>
+#include <unistd.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>