slim (1.3.1-8) ftbfs_gcc_4.4.patch

Summary

 app.cpp      |    1 +
 switchuser.h |    1 +
 2 files changed, 2 insertions(+)

    
download this patch

Patch contents

# From http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505332

--- a/switchuser.h	2009-09-21 16:10:43.000000000 +0900
+++ b/switchuser.h	2009-09-21 16:11:06.000000000 +0900
@@ -18,6 +18,7 @@
 #include <pwd.h>
 #include <grp.h>
 #include <paths.h>
+#include <cstdio>
 #include <iostream>
 #include "const.h"
 #include "cfg.h"
--- a/app.cpp	2009-12-07 23:21:31.000000000 +0900
+++ b/app.cpp	2009-12-07 23:21:51.000000000 +0900
@@ -12,6 +12,7 @@
 
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <cstring>