Browse Source

Include windows stuff in minirent.h

rexim 4 years ago
parent
commit
d9750bec1c
1 changed files with 3 additions and 0 deletions
  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];