Projects
Eulaceura:Factory
lwip
_service:obs_scm:0072-add-O_NONBLOCK-and-FIONBI...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0072-add-O_NONBLOCK-and-FIONBIO-when-not-defined.patch of Package lwip
From 28922406bbe13f9442a16e4b1ccc19f42e8ebb9b Mon Sep 17 00:00:00 2001 From: jiangheng <jiangheng14@huawei.com> Date: Mon, 5 Feb 2024 17:26:46 +0800 Subject: add O_NONBLOCK and FIONBIO when not defined --- src/include/lwipopts.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/lwipopts.h b/src/include/lwipopts.h index d2ad30b..fbdcbf4 100644 --- a/src/include/lwipopts.h +++ b/src/include/lwipopts.h @@ -236,9 +236,13 @@ #define SO_REUSE 1 +#ifndef FIONBIO #define FIONBIO 0x5421 /* same as define in asm-generic/ioctls.h */ +#endif +#ifndef O_NONBLOCK #define O_NONBLOCK 04000 /* same as define in bits/fcntl-linux.h */ +#endif #define SIOCSHIWAT 1 -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2