summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/wake.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/wake.c b/bin/wake.c
index c1100994..7b8beae9 100644
--- a/bin/wake.c
+++ b/bin/wake.c
@@ -16,6 +16,8 @@
 
 // Wake-on-LAN.
 
+#include <sys/types.h>
+
 #include <err.h>
 #include <netinet/in.h>
 #include <stdint.h>