chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import release 0.08
[secnet.git]
/
udp.c
diff --git
a/udp.c
b/udp.c
index 177ce1c23b4481563cf3d2e2895dcb780ae8cc45..f05596202d8e0f5d7a59d6205b60cb7b8b4ac89a 100644
(file)
--- a/
udp.c
+++ b/
udp.c
@@
-12,16
+12,13
@@
* Packets are offered to registered receivers in turn. Once one
* accepts it, it isn't offered to any more. */
* Packets are offered to registered receivers in turn. Once one
* accepts it, it isn't offered to any more. */
+#include "secnet.h"
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <sys/socket.h>
-#include <netinet/in.h>
-
-#include "secnet.h"
#include "util.h"
static beforepoll_fn udp_beforepoll;
#include "util.h"
static beforepoll_fn udp_beforepoll;