pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/pkg_install-info/files



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Aug  5 14:40:09 UTC 2024

Modified Files:
        pkgsrc/pkgtools/pkg_install-info/files: system.h

Log Message:
pkg_install-info: include <stdlib.h> for exit and free


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/pkgtools/pkg_install-info/files/system.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkg_install-info/files/system.h
diff -u pkgsrc/pkgtools/pkg_install-info/files/system.h:1.1.1.1 pkgsrc/pkgtools/pkg_install-info/files/system.h:1.2
--- pkgsrc/pkgtools/pkg_install-info/files/system.h:1.1.1.1     Mon Jun  9 22:16:11 2003
+++ pkgsrc/pkgtools/pkg_install-info/files/system.h     Mon Aug  5 14:40:09 2024
@@ -1,5 +1,5 @@
 /* system.h: system-dependent declarations; include this first.
-   $Id: system.h,v 1.1.1.1 2003/06/09 22:16:11 seb Exp $
+   $Id: system.h,v 1.2 2024/08/05 14:40:09 tnn Exp $
 
    Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software
    Foundation, Inc.
@@ -41,6 +41,10 @@ extern char *substring ();
 #include <unistd.h>
 #endif /* HAVE_UNISTD_H */
 
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif /* HAVE_STDLIB_H */
+
 #include <stdio.h>
 #include <sys/types.h>
 #include <ctype.h>



Home | Main Index | Thread Index | Old Index