diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-22 18:50:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-22 18:50:31 +0100 |
| commit | 2fb6cdae8446699be824aaeb902f4bca1888657d (patch) | |
| tree | afa06920eff18c0d66638103d40bb0202aeee751 /src | |
| parent | 9f861f06506d0b1b50172f0defadc5bff3f76871 (diff) | |
Fix up posix build.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/cross.cc | 3 | ||||
| -rw-r--r-- | src/lib/wscript | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 94e0d922c..2c66ab53a 100644 --- a/src/lib/cross.cc +++ b/src/lib/cross.cc @@ -18,6 +18,9 @@ */ #include "cross.h" +#ifdef DVDOMATIC_POSIX +#include <unistd.h> +#endif #ifdef DVDOMATIC_WINDOWS #include "windows.h" #endif diff --git a/src/lib/wscript b/src/lib/wscript index edb94b087..75f7edded 100644 --- a/src/lib/wscript +++ b/src/lib/wscript @@ -55,4 +55,8 @@ def build(bld): util.cc version.cc """ + + if not bld.env.DISABLE_PLAYER: + obj.source += " player.cc player_manager.cc" + obj.target = 'dvdomatic' |
