fix: u_int32 not working on windows

This commit is contained in:
Flinner Yuu 2024-12-04 11:55:46 +03:00
parent c46805e77b
commit 3765500c7b
Signed by untrusted user: flinner
GPG Key ID: 95CE0DA7F0E58CA6
6 changed files with 4 additions and 6 deletions

View File

@ -5,7 +5,6 @@
#include <iostream>
#include <optional>
#include <sstream>
#include <sys/types.h>
#ifndef CLINIC_
#define CLINIC_

View File

@ -25,7 +25,6 @@
#include <ostream>
#include <sstream>
#include <string>
#include <sys/types.h>
#include <vector>
////////////////////////////////////

View File

@ -6,7 +6,6 @@
#include <istream>
#include <ostream>
#include <string>
#include <sys/types.h>
#include <vector>
////////////////////////////////////

View File

@ -1,7 +1,6 @@
#include <iostream>
#include <istream>
#include <ostream>
#include <sys/types.h>
#include "Visit.hpp"

View File

@ -5,7 +5,10 @@
#include <istream>
#include <ostream>
#include <string>
#include <sys/types.h>
// Fix u_int_32_t not on windows
#include <cstdint>
typedef std::uint32_t u_int32_t;
class Visit {
// clang-format off

View File

@ -7,7 +7,6 @@
#include <iostream>
#include <optional>
#include <sstream>
#include <sys/types.h>
int main() {
// this program implements the sieve of Erathosthenes using linked lists