mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-04-22 16:09:18 -04:00
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:
parent
9b7c0bc6a8
commit
41461dcadd
@ -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);
|
||||
|
@ -3,6 +3,10 @@
|
||||
|
||||
/* top-level p2p overlay network interface */
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "util/rswin.h"
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
#include <list>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user