SOURCES: cgdb-missing_includes.patch (NEW) - add missing #include ...

twittner twittner at pld-linux.org
Thu Aug 25 00:07:49 CEST 2005


Author: twittner                     Date: Wed Aug 24 22:07:49 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add missing #include <stdio.h> (it appears after am/ac regeneration)

---- Files affected:
SOURCES:
   cgdb-missing_includes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/cgdb-missing_includes.patch
diff -u /dev/null SOURCES/cgdb-missing_includes.patch:1.1
--- /dev/null	Thu Aug 25 00:07:49 2005
+++ SOURCES/cgdb-missing_includes.patch	Thu Aug 25 00:07:44 2005
@@ -0,0 +1,13 @@
+--- cgdb-0.5.3/cgdb/lib/kui/src/kui_term.c~	2005-08-24 23:39:47.693507928 +0200
++++ cgdb-0.5.3/cgdb/lib/kui/src/kui_term.c	2005-08-24 23:48:35.060335984 +0200
+@@ -14,6 +14,10 @@
+ #include <stdlib.h> /* for getenv */
+ #endif /* HAVE_STDLIB_H */
+ 
++#if HAVE_STDIO_H
++#include <stdio.h>
++#endif /* HAVE_STDIO_H */
++
+ /* term.h prototypes */
+ extern int tgetent();
+ extern int tgetflag();
================================================================



More information about the pld-cvs-commit mailing list