tweaked the headers for windows compilation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-peernet@4299 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2011-06-19 12:24:05 +00:00
parent 9b7c0bc6a8
commit 41461dcadd
2 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,9 @@
#include "peernet.h"
#include <stdio.h>
#include <QtGui/QApplication>
#include "mainwindow.h"
#include "peernet.h"
int main(int argc, char *argv[])
{
@ -27,6 +29,7 @@ int main(int argc, char *argv[])
bool doLocalTesting = false;
#ifndef _WIN32
int c;
while((c = getopt(argc, argv,"r:R:p:c:nl")) != -1)
{
@ -62,6 +65,7 @@ int main(int argc, char *argv[])
break;
}
}
#endif
PeerNet *pnet = new PeerNet("", configPath, portNumber);

View File

@ -3,6 +3,10 @@
/* top-level p2p overlay network interface */
#ifdef _WIN32
#include "util/rswin.h"
#endif
#include <string>
#include <list>