summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2007-11-06 17:53:14 +0000
committerDirk Engling <erdgeist@erdgeist.org>2007-11-06 17:53:14 +0000
commit31dedcd9cf8224e587fcbf8b48e137b87515f550 (patch)
tree45a389006c7e4e92052b6277505bd4ec4864688b
parent26c23fdecdc5b7d1fc31c0257ce40d7c2353a8b5 (diff)
downloadopentracker-31dedcd9cf8224e587fcbf8b48e137b87515f550.tar.gz
opentracker-31dedcd9cf8224e587fcbf8b48e137b87515f550.zip
Missing newline warning, missing include fixed
-rw-r--r--ot_stats.c2
-rw-r--r--ot_udp.c1
-rw-r--r--ot_udp.h2
3 files changed, 3 insertions, 2 deletions
diff --git a/ot_stats.c b/ot_stats.c
index 7cfb1dc..97e83dd 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -319,4 +319,4 @@ void stats_issue_event( ot_status_event event, int is_tcp, size_t event_data ) {
default:
break;
}
-} \ No newline at end of file
+}
diff --git a/ot_udp.c b/ot_udp.c
index 94d7d3c..61624c5 100644
--- a/ot_udp.c
+++ b/ot_udp.c
@@ -3,6 +3,7 @@
/* System */
#include <string.h>
+#include <arpa/inet.h>
/* Libowfat */
#include "socket.h"
diff --git a/ot_udp.h b/ot_udp.h
index ba0d7e7..437e8ad 100644
--- a/ot_udp.h
+++ b/ot_udp.h
@@ -6,4 +6,4 @@
void handle_udp4( int64 serversocket );
-#endif \ No newline at end of file
+#endif