summaryrefslogtreecommitdiffstatshomepage
path: root/windows/msvc/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'windows/msvc/unistd.h')
-rw-r--r--windows/msvc/unistd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/windows/msvc/unistd.h b/windows/msvc/unistd.h
index add10c8843..87787c3d8d 100644
--- a/windows/msvc/unistd.h
+++ b/windows/msvc/unistd.h
@@ -23,6 +23,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef MICROPY_INCLUDED_WINDOWS_MSVC_UNISTD_H
+#define MICROPY_INCLUDED_WINDOWS_MSVC_UNISTD_H
// There's no unistd.h, but this is the equivalent
#include <io.h>
@@ -38,3 +40,5 @@
#define SEEK_CUR 1
#define SEEK_END 2
#define SEEK_SET 0
+
+#endif // MICROPY_INCLUDED_WINDOWS_MSVC_UNISTD_H