openbsd-ports/net/gtk-gnutella/patches/patch-src_fileinfo_c
2004-09-20 20:12:11 +00:00

14 lines
456 B
Plaintext

$OpenBSD: patch-src_fileinfo_c,v 1.4 2004/09/20 20:12:11 sturm Exp $
--- src/fileinfo.c.orig Sat Jul 10 12:21:11 2004
+++ src/fileinfo.c Mon Sep 20 21:05:35 2004
@@ -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 "override.h" /* Must be the last header included */