aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/net.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-08-28 18:16:55 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-08-28 18:16:55 +0200
commitd33c95ded66b85217c5554d9ec8e5feb2dfb550c (patch)
tree7783a091d1fd902b7ebbc9772fcfc7cb1328687b /src/net.h
parentcmake: add install() rules (diff)
downloadcimple-d33c95ded66b85217c5554d9ec8e5feb2dfb550c.tar.gz
cimple-d33c95ded66b85217c5554d9ec8e5feb2dfb550c.zip
add missing #include
Diffstat (limited to '')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index ce1c536..125d4f3 100644
--- a/src/net.h
+++ b/src/net.h
@@ -2,6 +2,7 @@
#define __NET_H__
#include <stdlib.h>
+#include <sys/types.h>
int net_bind(const char *port);
int net_accept(int fd);