summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-04-15 00:38:41 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-04-15 00:39:09 +0200
commitbe828e44b332ccfeef6f687d69b5d74b2a16323d (patch)
tree30957f074eabebc6d3afea2cb68a436ce060f0b1
parente67c284ac113d939b10b4578334f27dab29d5b08 (diff)
Fix warningsdde_net
* check_kernel.c: Include <error.h>. * main.c: Include <pthread.h>.
-rw-r--r--check_kernel.c1
-rw-r--r--main.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/check_kernel.c b/check_kernel.c
index 6a285231e..c4af7865d 100644
--- a/check_kernel.c
+++ b/check_kernel.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+#include <error.h>
#include <hurd.h>
#include <mach.h>
diff --git a/main.c b/main.c
index ec764056a..26ad4f1dd 100644
--- a/main.c
+++ b/main.c
@@ -1,6 +1,8 @@
#include <dde26.h> /* l4dde26_*() */
#include <dde26_net.h> /* l4dde26 networking */
+#include <pthread.h>
+
#include <linux/netdevice.h> /* struct sk_buff */
#include <linux/pci.h> /* pci_unregister_driver() */
#include <linux/init.h> // initcall()