1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/news/nget/files/patch-lite.h
Pav Lucistnik c215e4f94b - Fix build with gcc42
- Backport bugfixes from vendor CVS

Submitted by:	Jeff Burchell <toxic@doobie.com>
2008-08-16 09:22:41 +00:00

12 lines
277 B
C

--- lite.h 2004-05-29 16:00:08.000000000 -0700
+++ lite.h 2008-03-02 23:03:01.000000000 -0800
@@ -24,6 +24,8 @@
#endif
#include <stdlib.h>
+#include <string.h>
+
char * newstrcpy(char *&dest, const char *src);
inline void safefree(char *&p){
if (p){free(p);p=NULL;}