openbsd-ports/net/gtk-gnutella/patches/patch-src_fileinfo_c
sturm 890a852f9e update to gtk-gnutella 0.93.3
lots of bug fixes and other enhancements
2004-04-09 10:20:47 +00:00

14 lines
457 B
Plaintext

$OpenBSD: patch-src_fileinfo_c,v 1.3 2004/04/09 10:20:47 sturm Exp $
--- src/fileinfo.c.orig 2004-01-25 21:22:06.000000000 +0100
+++ src/fileinfo.c 2004-04-08 19:39:09.000000000 +0200
@@ -56,7 +56,8 @@
#include <fcntl.h>
#include <regex.h>
#include <time.h> /* For ctime() */
-#include <arpa/inet.h> /* For ntohl() and friends... */
+#include <sys/types.h>
+#include <machine/endian.h>
#include <dirent.h>
#include <ctype.h> /* For iscntrl() */