mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 17:27:33 +08:00
修正posix系统下编译失败的bug
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
* Author: xzl
|
||||
*/
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <dirent.h>
|
||||
#endif //!defined(_WIN32)
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include <algorithm>
|
||||
@@ -19,6 +23,7 @@
|
||||
#include "Util/mini.h"
|
||||
#include "Util/NoticeCenter.h"
|
||||
|
||||
|
||||
using namespace ZL::Util;
|
||||
|
||||
namespace ZL {
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
#ifndef SRC_SHELL_CMD_H_
|
||||
#define SRC_SHELL_CMD_H_
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <getopt.h>
|
||||
#endif //!defined(_WIN32)
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
|
||||
Reference in New Issue
Block a user