[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torperf/master] (util.c): #include <arpa/inet.h> for ntohl().



commit 28061a3d049ce72ade656c9970f2cf75750af57f
Author: Linus Nordberg <linus@xxxxxxxxxxx>
Date:   Thu Apr 14 23:24:53 2011 +0200

    (util.c): #include <arpa/inet.h> for ntohl().
    
    The BSD's don't get ntohl from any of the other includes.
---
 util.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/util.c b/util.c
index fdf7681..96cee0a 100644
--- a/util.c
+++ b/util.c
@@ -13,6 +13,7 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <arpa/inet.h>
 #include <unistd.h>
 #include <stdint.h>
 #include <assert.h>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits