1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-09 05:46:32 +00:00

Interface flags now defined with INTERFACE, inherited by TUN

This commit is contained in:
Gerhard Rieger 2023-10-26 19:08:26 +02:00
parent 8c9b185890
commit 47af17dbf2
16 changed files with 312 additions and 142 deletions

View file

@ -5,6 +5,11 @@
#ifndef __sysincludes_h_included
#define __sysincludes_h_included 1
/* Sorry for this... */
#if defined(__sun) || defined(__sun__) || defined(__SunOS)
# define BSD_COMP 1 /* for SIOCGIFFLAGS */
#endif
#include <stddef.h> /* ptrdiff_t */
#if HAVE_STDBOOL_H
#include <stdbool.h> /* bool, true, false */