summaryrefslogtreecommitdiff
path: root/news/nget/patches/patch-lite_h
blob: df4fa40c6d4ffed7df1c79d9d251e0a8f4a0ee0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-lite_h,v 1.1 2012/05/10 02:04:36 dholland Exp $

Use standard headers.

--- lite.h~	2004-05-29 23:00:08.000000000 +0000
+++ lite.h
@@ -23,7 +23,9 @@
 #include "config.h"
 #endif
 
-#include <stdlib.h>
+#include <cstring>
+#include <cstdlib>
+
 char * newstrcpy(char *&dest, const char *src);
 inline void safefree(char *&p){
     if (p){free(p);p=NULL;}