Compile with stricter GCC and glibc

This commit is contained in:
Thiago Macieira
2009-09-12 09:17:09 +02:00
parent 4da142255c
commit 9b0754a450
4 changed files with 8 additions and 0 deletions

View File

@@ -43,9 +43,11 @@
# include <stdio.h> # include <stdio.h>
# include <sys/ioctl.h> # include <sys/ioctl.h>
# include <sys/types.h>
# include <termios.h> # include <termios.h>
# include <errno.h> # include <errno.h>
# include <string.h> # include <string.h>
# include <unistd.h>
#endif #endif
enum { TimerInterval = 100 }; enum { TimerInterval = 100 };

View File

@@ -31,6 +31,10 @@
#ifndef STANDALONE_RUNNER #ifndef STANDALONE_RUNNER
#include "gdbengine.h" #include "gdbengine.h"
#endif #endif
#ifndef Q_OS_WIN
# include <sys/types.h>
# include <unistd.h>
#endif
#define TrkCB(s) TrkCallback(this, &TrkGdbAdapter::s) #define TrkCB(s) TrkCallback(this, &TrkGdbAdapter::s)

View File

@@ -28,6 +28,7 @@
**************************************************************************/ **************************************************************************/
#include "trkutils.h" #include "trkutils.h"
#include <ctype.h>
#include <QtCore/QDebug> #include <QtCore/QDebug>

View File

@@ -47,6 +47,7 @@
# include <termios.h> # include <termios.h>
# include <errno.h> # include <errno.h>
# include <string.h> # include <string.h>
# include <unistd.h>
#endif #endif
enum { TimerInterval = 100 }; enum { TimerInterval = 100 };