Skip to content

Commit

Permalink
fixup! io: smooth out non-POSIX function usage across platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed Jan 9, 2025
1 parent 99b6ae3 commit 93c6d2d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion kernel/gzip.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
#include "kernel/log.h"
#include "kernel/gzip.h"
#include <iostream>
#include <dirent.h>
#include <string>
#include <cstdarg>
#include <cstdio>

#if !defined(WIN32)
#include <dirent.h>
#include <unistd.h>
#else
#include <io.h>
#endif

YOSYS_NAMESPACE_BEGIN

#ifdef YOSYS_ENABLE_ZLIB
Expand Down

0 comments on commit 93c6d2d

Please sign in to comment.