From f481dbef59341539aea531e400538bccadf51adf Mon Sep 17 00:00:00 2001 From: joss17 Date: Wed, 20 Jan 2010 22:02:43 +0000 Subject: [PATCH] add include for latest gcc. Comment usleep fonction in tou_net.h git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2101 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/ft/ftchunkmap.cc | 1 + libretroshare/src/pqi/pqiarchive.cc | 1 + libretroshare/src/tcponudp/tou_net.h | 2 +- retroshare-gui/src/gui/GenCertDialog.cpp | 1 + retroshare-gui/src/gui/PeersDialog.cpp | 1 + retroshare-gui/src/gui/chat/PopupChatDialog.cpp | 1 + retroshare-gui/src/gui/feeds/PeerItem.cpp | 1 + retroshare-gui/src/gui/notifyqt.cpp | 1 + 8 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/ft/ftchunkmap.cc b/libretroshare/src/ft/ftchunkmap.cc index 38b52ccb4..aa5ee7018 100644 --- a/libretroshare/src/ft/ftchunkmap.cc +++ b/libretroshare/src/ft/ftchunkmap.cc @@ -3,6 +3,7 @@ #include #include #include "ftchunkmap.h" +#include static const uint32_t SOURCE_CHUNK_MAP_UPDATE_PERIOD = 60 ; //! TTL for chunkmap info diff --git a/libretroshare/src/pqi/pqiarchive.cc b/libretroshare/src/pqi/pqiarchive.cc index d98f59207..1280108d5 100644 --- a/libretroshare/src/pqi/pqiarchive.cc +++ b/libretroshare/src/pqi/pqiarchive.cc @@ -47,6 +47,7 @@ #include #include "util/rsdebug.h" +#include const int pqiarchivezone = 9326; diff --git a/libretroshare/src/tcponudp/tou_net.h b/libretroshare/src/tcponudp/tou_net.h index f852aa4bc..878259e83 100644 --- a/libretroshare/src/tcponudp/tou_net.h +++ b/libretroshare/src/tcponudp/tou_net.h @@ -118,7 +118,7 @@ int tounet_w2u_errno(int error); * void Sleep(int ms); */ void sleep(int sec); -void usleep(int usec); +//void usleep(int usec); #endif /********************************** WINDOWS/UNIX SPECIFIC PART ******************/ diff --git a/retroshare-gui/src/gui/GenCertDialog.cpp b/retroshare-gui/src/gui/GenCertDialog.cpp index d3784d74f..8c82b2164 100644 --- a/retroshare-gui/src/gui/GenCertDialog.cpp +++ b/retroshare-gui/src/gui/GenCertDialog.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp index ec5367136..2ebb49086 100644 --- a/retroshare-gui/src/gui/PeersDialog.cpp +++ b/retroshare-gui/src/gui/PeersDialog.cpp @@ -44,6 +44,7 @@ #include "gui/forums/CreateForum.h" #include +#include #include #include diff --git a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp index d8ed7adb3..71d52e6ef 100644 --- a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp +++ b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp @@ -41,6 +41,7 @@ #include "rsiface/rsfiles.h" #include "gui/feeds/SubFileItem.h" +#include #define appDir QApplication::applicationDirPath() diff --git a/retroshare-gui/src/gui/feeds/PeerItem.cpp b/retroshare-gui/src/gui/feeds/PeerItem.cpp index d45e2618f..940a69645 100644 --- a/retroshare-gui/src/gui/feeds/PeerItem.cpp +++ b/retroshare-gui/src/gui/feeds/PeerItem.cpp @@ -27,6 +27,7 @@ #include #include +#include /***** * #define DEBUG_ITEM 1 diff --git a/retroshare-gui/src/gui/notifyqt.cpp b/retroshare-gui/src/gui/notifyqt.cpp index 7606937e3..db30fdc06 100644 --- a/retroshare-gui/src/gui/notifyqt.cpp +++ b/retroshare-gui/src/gui/notifyqt.cpp @@ -23,6 +23,7 @@ #include #include +#include /***** * #define NOTIFY_DEBUG