summaryrefslogtreecommitdiffstats
path: root/inc/abrtlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/abrtlib.h')
-rw-r--r--inc/abrtlib.h3
1 files changed, 3 insertions, 0 deletions
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 <pwd.h>
#include <grp.h>
+/* C++ bits */
+#include <string>
/* 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);