18 lines
369 B
Text
18 lines
369 B
Text
|
$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;}
|