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 ee5043f commit 99b6ae3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion kernel/gzip.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include <string>
#include <unistd.h>
#include "kernel/yosys_common.h"

#ifndef YOSYS_GZIP_H
Expand Down
2 changes: 1 addition & 1 deletion kernel/io.cc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include "kernel/yosys_common.h"
#include "kernel/log.h"
#include <iostream>
#include <dirent.h>
#include <string>

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

0 comments on commit 99b6ae3

Please sign in to comment.