Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To able to build on Ubuntu 14.04 #64

Open
johan-smits opened this issue Apr 25, 2014 · 0 comments
Open

To able to build on Ubuntu 14.04 #64

johan-smits opened this issue Apr 25, 2014 · 0 comments

Comments

@johan-smits
Copy link

To have it build on Ubuntu 14.04 with samba4 this needs to be changed (found it on: https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=10;filename=xbmc-exp-1.1.debdiff;att=1;bug=728594 )

diff --git a/xbmc/filesystem/SMBDirectory.cpp b/xbmc/filesystem/SMBDirectory.cpp
index 7807e29..9bfd05b 100644
--- a/xbmc/filesystem/SMBDirectory.cpp
+++ b/xbmc/filesystem/SMBDirectory.cpp
@@ -44,7 +44,7 @@
 #include "threads/SingleLock.h"
 #include "PasswordManager.h"

-#include <libsmbclient.h>
+#include <samba-4.0/libsmbclient.h>

 #if defined(TARGET_DARWIN)
 #define XBMC_SMB_MOUNT_PATH "Library/Application Support/XBMC/Mounts/"
diff --git a/xbmc/filesystem/SmbFile.cpp b/xbmc/filesystem/SmbFile.cpp
index da6ba30..d587e96 100644
--- a/xbmc/filesystem/SmbFile.cpp
+++ b/xbmc/filesystem/SmbFile.cpp
@@ -27,7 +27,7 @@
 #include "PasswordManager.h"
 #include "SMBDirectory.h"
 #include "Util.h"
-#include <libsmbclient.h>
+#include <samba-4.0/libsmbclient.h>
 #include "settings/AdvancedSettings.h"
 #include "settings/GUISettings.h"
 #include "threads/SingleLock.h"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant