From 8336bbee624aa84b485e3f6b0984bce04b52e61d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 5 Aug 2009 19:04:44 +0200 Subject: Hooks/CCpp.cpp: don't dump executables with "/abrt" substring in the name some cleanups and abrtlib work crept in too... Signed-off-by: Denys Vlasenko --- inc/abrtlib.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'inc/abrtlib.h') diff --git a/inc/abrtlib.h b/inc/abrtlib.h index 65e8fb8f..29c8b5e8 100644 --- a/inc/abrtlib.h +++ b/inc/abrtlib.h @@ -36,6 +36,8 @@ #endif #include #include +/* C++ bits */ +#include /* Some libc's forget to declare these, do it ourself */ extern char **environ; @@ -103,6 +105,7 @@ void xstat(const char *name, struct stat *stat_buf); void xmove_fd(int from, int to); char* xasprintf(const char *format, ...); +std::string ssprintf(const char *format, ...); /* copyfd_XX print read/write errors and return -1 if they occur */ off_t copyfd_eof(int src_fd, int dst_fd); -- cgit