ports/net/lmule/files/patch-src::SharedFileList.cpp
Mario Sergio Fujikawa Ferreira 538ec70569 New port lmule version 1.1.11.b: Port of eMule eDonkey P2P client
using wxWindows class library
2003-03-23 04:46:03 +00:00

24 lines
705 B
C++

--- src/SharedFileList.cpp.orig Sun Mar 23 01:02:07 2003
+++ src/SharedFileList.cpp Sun Mar 23 01:02:34 2003
@@ -15,6 +15,10 @@
//along with this program; if not, write to the Free Software
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#if (defined(__unix__) || defined(unix)) && !defined(USG)
+#include <sys/param.h>
+#endif
+
//#include "stdafx.h"
#include "emule.h"
#include "emuleDlg.h"
@@ -28,6 +32,10 @@
#include "ED2KLink.h"
#include "packets.h"
#include <time.h>
+
+#if (defined(BSD) && (BSD >= 199103))
+#include <libgen.h>
+#endif
CSharedFileList::CSharedFileList(CPreferences* in_prefs,CServerConnect* in_server,CKnownFileList* in_filelist){
app_prefs = in_prefs;