1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/net/ushare/files/patch-http.c
Martin Wilke b5678c976b - Fix problems with libintl
- Fix many compiler warnings

Submitted by:   Volker Theile (maintainer via privat mail)
2006-12-30 20:25:28 +00:00

14 lines
266 B
C

--- src/http.c.orig Sun Nov 12 13:40:35 2006
+++ src/http.c Sat Dec 23 02:47:10 2006
@@ -47,6 +47,10 @@
#include "trace.h"
#include "presentation.h"
+#if defined(__FreeBSD__)
+#include "strndup.h"
+#endif
+
struct web_file_t {
char *fullpath;
size_t pos;