Skip to content

Commit

Permalink
fix tc_serialport compiler bug in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanshudong committed Sep 13, 2024
1 parent 5efade0 commit dd84c3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions util/include/util/tc_serialport.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@

#pragma once

#include "util/tc_platform.h"

#if TARGET_PLATFORM_LINUX || TARGET_PLATFORM_IOS

#include <string>
#include <iostream>
#include <fcntl.h>
#include <unistd.h>
#include <termios.h>
#include <cstring>
#include "util/tc_platform.h"
#include "util/tc_ex.h"
#include "util/tc_epoller.h"
#include "util/tc_network_buffer.h"

#if TARGET_PLATFORM_LINUX || TARGET_PLATFORM_IOS

namespace tars
{

Expand Down

0 comments on commit dd84c3f

Please sign in to comment.