aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Czigler <37268479+mcpcpc@users.noreply.github.com>2021-06-02 22:01:50 -0400
committerGitHub <noreply@github.com>2021-06-02 22:01:50 -0400
commitef1c20acfcc2f35381cf8f017599ff8d649cae76 (patch)
treed1b58c04844d8f128303e287a502cc0b4628851e
parentreplaced freenode with libera.chat (#113) (diff)
downloadkirc-ef1c20acfcc2f35381cf8f017599ff8d649cae76.tar.gz
kirc-ef1c20acfcc2f35381cf8f017599ff8d649cae76.tar.bz2
kirc-ef1c20acfcc2f35381cf8f017599ff8d649cae76.tar.xz
kirc-ef1c20acfcc2f35381cf8f017599ff8d649cae76.tar.zst
kirc-ef1c20acfcc2f35381cf8f017599ff8d649cae76.zip
released at 0.2.7
-rw-r--r--kirc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/kirc.c b/kirc.c
index 53f0d4e..065924a 100644
--- a/kirc.c
+++ b/kirc.c
@@ -1,5 +1,9 @@
/* See LICENSE file for license details. */
#define _POSIX_C_SOURCE 200809L
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
+# include <sys/types.h>
+# include <sys/socket.h>
+#endif
#include <stdarg.h>
#include <netdb.h>
#include <stdio.h>
@@ -14,7 +18,7 @@
#include <sys/ioctl.h>
#define CTCP_CMDS "ACTION VERSION TIME CLIENTINFO PING"
-#define VERSION "0.2.6"
+#define VERSION "0.2.7"
#define MSG_MAX 512
#define CHA_MAX 200
#define NIC_MAX 26