winlin

fix #101: for ubuntu14 build error.

@@ -24,6 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -24,6 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 #include <srs_kernel_flv.hpp> 24 #include <srs_kernel_flv.hpp>
25 25
26 #include <fcntl.h> 26 #include <fcntl.h>
  27 +#include <unistd.h>
27 #include <sstream> 28 #include <sstream>
28 using namespace std; 29 using namespace std;
29 30
@@ -34,6 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -34,6 +34,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34 #include <srs_kernel_stream.hpp> 34 #include <srs_kernel_stream.hpp>
35 #include <srs_kernel_utility.hpp> 35 #include <srs_kernel_utility.hpp>
36 36
  37 +#include <unistd.h>
37 using namespace std; 38 using namespace std;
38 39
39 /** 40 /**