diff options
| author | Nakidai <nakidai@disroot.org> | 2025-12-05 14:30:53 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-12-05 14:30:53 +0300 |
| commit | 226096ac0275e6aadf3ff9459e130e6dd1821934 (patch) | |
| tree | 412e00eafa16477c5377f03fca011987d279f045 /common.h | |
| parent | 8231f3bef51e0d30eec41aab78631c29b00db491 (diff) | |
| download | fatvpn-dev.tar.gz fatvpn-dev.zip | |
Port fatvpn.c tp OpenBSD dev
Haven't tasted yet, though
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common.h b/common.h index 9bb5912..38c5e0a 100644 --- a/common.h +++ b/common.h @@ -14,7 +14,13 @@ #include <net/if.h> #include <fcntl.h> +#ifdef __linux__ #include <linux/if_tun.h> +#elif __OpenBSD__ +#include <sys/stat.h> +#else +#error "unsupported system" +#endif #include "shorttypes.h" #include "sponge-bob.h" |