Fixes build with GCC 4.7, as well as the gold linker. --- main.cpp +++ main.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include "dbus.h" #include "notifywidget.h" #include "notifyarea.h" --- notifyarea.cpp +++ notifyarea.cpp @@ -22,6 +22,7 @@ #include //alex #include #include +#include #include "notifyarea.h" #include "notifywidget.h" #include "dbus.h" --- qtnotifydaemon.pro +++ qtnotifydaemon.pro @@ -13,6 +13,7 @@ INCLUDEPATH += . QT += dbus RESOURCES += images.qrc +LIBS += -lX11 # Input SOURCES += main.cpp notifywidget.cpp dbus.cpp notifyarea.cpp message.cpp