diff options
author | Minh Ngo <nlminhtl@gmail.com> | 2013-09-04 13:40:49 +0300 |
---|---|---|
committer | Minh Ngo <nlminhtl@gmail.com> | 2013-09-04 20:10:22 +0300 |
commit | 9335f5f1c577b8f6b43200de573f0112f84b007e (patch) | |
tree | efa436faa01f95e66ee70417339ea788254f4a4b /avmedia/source/vlc/vlcplayer.hxx | |
parent | 456539a6faa79e4ec7f9f553e215cc2bc501ed62 (diff) |
Fixing a crash when loading symbols from LibVLC.
Change-Id: Ifb39dea6f0d2328d5658f34ca35d6d65445c38ef
Diffstat (limited to 'avmedia/source/vlc/vlcplayer.hxx')
-rw-r--r-- | avmedia/source/vlc/vlcplayer.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/avmedia/source/vlc/vlcplayer.hxx b/avmedia/source/vlc/vlcplayer.hxx index de809f7faa44..2996cb203d6c 100644 --- a/avmedia/source/vlc/vlcplayer.hxx +++ b/avmedia/source/vlc/vlcplayer.hxx @@ -19,7 +19,9 @@ #ifndef _VLCPLAYER_HXX #define _VLCPLAYER_HXX - +#if defined UNX +#include <unistd.h> +#endif #include "vlccommon.hxx" #include <boost/shared_ptr.hpp> #include <cppuhelper/compbase2.hxx> |