修正posix系统下编译失败的bug

This commit is contained in:
xiongziliang
2017-08-10 14:06:51 +08:00
parent c13d18a352
commit ec6edb5f24
3 changed files with 10 additions and 1 deletions

View File

@@ -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>