Skip to content

Commit d4d963c

Browse files
add header for windows
1 parent 63fd8d7 commit d4d963c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/stdhdr.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ Boston, MA 02111-1307, USA. */
3535
#include <limits.h> // gives INT_MAX
3636
#include <signal.h> // for sig_atomic_t and signal handling
3737

38+
#if defined(__MINGW32__) || defined(__MINGW64__)
39+
#include <io.h>
40+
#else
41+
#include <unistd.h>
42+
#endif
43+
3844
#include <time.h> // used for TIME and DATE in main and stats
3945

4046
#include "strng.h" // our replacement for GLib.String

0 commit comments

Comments
 (0)