3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/display-managers/slim/slim-1.3.1-gcc4.4.patch
Lluís Batlle i Rossell 659a9a835a Fixing the slim build in gcc 4.4
svn path=/nixpkgs/branches/stdenv-updates/; revision=19482
2010-01-16 15:02:46 +00:00

18 lines
384 B
Diff

Patch to allow compilation with gcc-4.4
Notified by Daniel J. - from Debian bug tracker
http://bugs.gentoo.org/252745
--- a/switchuser.h 2008-11-11 19:40:18.000000000 +0000
+++ a/switchuser.h 2008-11-11 19:40:28.000000000 +0000
@@ -18,6 +18,7 @@
#include <pwd.h>
#include <grp.h>
#include <paths.h>
+#include <cstdio>
#include <iostream>
#include "const.h"
#include "cfg.h"