浏览代码

Include windows stuff in minirent.h

rexim 4 年之前
父节点
当前提交
d9750bec1c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      minirent.h

+ 3 - 0
minirent.h

@@ -22,6 +22,9 @@
 #ifndef MINIRENT_H_
 #define MINIRENT_H_
 
+#define WIN32_LEAN_AND_MEAN
+#include "windows.h"
+
 struct dirent
 {
     char d_name[MAX_PATH+1];