]> rtime.felk.cvut.cz Git - frescor/frsh.git/commitdiff
frm_gui: Compilation fixes
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 13 Apr 2010 12:42:56 +0000 (14:42 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 13 Apr 2010 12:42:56 +0000 (14:42 +0200)
Probably caused by a new version of QT (4.5)

fres/frm_gui/contractlistmodel.cpp
fres/frm_gui/main.cpp

index ac425288e9828fa634b7d5cbd9d4806787f1e46a..f4d067813d691a47e48da5f3211850dcbf3b3f17 100644 (file)
@@ -1,6 +1,7 @@
 #include "contractlistmodel.h"
 #include <fres_contract.h>
 #include <QByteArray>
+#include <stdio.h>
 
 ContractListModel::ContractListModel(QObject *parent) :
         QAbstractListModel(parent), contracts(0)
index 8dff27e8f5432a21c9caef990b172b5714b92feb..1002dd4e0dc2da2493e82dd6a2d8ab54e888847f 100644 (file)
@@ -2,6 +2,7 @@
 #include "dialog.h"
 #include <getopt.h>
 #include <ul_logreg.h>
+#include <stdio.h>
 
 static struct option long_opts[] = {
     { "loglevel", 1, 0, 'l' },