Browse Source

Include windows stuff in minirent.h

rexim 4 năm trước cách đây
mục cha
commit
d9750bec1c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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];