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

16 Apr
2011
16 Apr
'11
10:20 a.m.
commit 28061a3d049ce72ade656c9970f2cf75750af57f Author: Linus Nordberg <linus@nordberg.se> 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>
5145
Age (days ago)
5145
Last active (days ago)
0 comments
1 participants
participants (1)
-
karsten@torproject.org