aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-11 12:53:46 +0000
committerOmar Polo <op@omarpolo.com>2021-01-11 12:53:46 +0000
commit28778244d67be7024868a5095e5eedda22a3ed98 (patch)
tree0a452b69e1a3a05bc144cf835fa3ddf0723760fb
parentb9220ca4de556f24be9cdc0d478109b75cd476ae (diff)
fix build
-rw-r--r--gmid.c1
-rw-r--r--gmid.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/gmid.c b/gmid.c
index 7ce5101..ef12066 100644
--- a/gmid.c
+++ b/gmid.c
@@ -15,7 +15,6 @@
*/
#include <sys/mman.h>
-#include <sys/socket.h>
#include <sys/stat.h>
#include <assert.h>
diff --git a/gmid.h b/gmid.h
index cb6af60..64effde 100644
--- a/gmid.h
+++ b/gmid.h
@@ -19,6 +19,7 @@
#include <arpa/inet.h>
#include <netinet/in.h>
+#include <sys/socket.h>
#include <poll.h>
#include <stdio.h>