gcc 4.3 compatibility (due to Leslie P. Polzer - skypher)

This commit is contained in:
Arnout Engelen
2008-06-10 21:47:30 +00:00
parent 502a208dca
commit eca73fa735
3 changed files with 5 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
Changelog Changelog
10/08/08 (Arnout)
- compile with g++ 4.3, thanks to Leslie P. Polzer - skypher
08/06/08 (Arnout, thanks to MeneerJansen for sparking some activity again :) ) 08/06/08 (Arnout, thanks to MeneerJansen for sparking some activity again :) )
- add 'if (DEBUG)' to debug message - add 'if (DEBUG)' to debug message
- fix compiler warning by marking some constant - fix compiler warning by marking some constant

View File

@@ -2,6 +2,7 @@
#include <string> #include <string>
#include <pwd.h> #include <pwd.h>
#include <sys/types.h> #include <sys/types.h>
#include <cstdlib>
#include <algorithm> #include <algorithm>
#include <ncurses.h> #include <ncurses.h>

View File

@@ -3,6 +3,7 @@
#include <string.h> #include <string.h>
#include <dirent.h> #include <dirent.h>
#include <ctype.h> #include <ctype.h>
#include <cstdlib>
#include <iostream> #include <iostream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>