aboutsummaryrefslogtreecommitdiffhomepage
path: root/applause.c
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-01-12 19:46:57 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-01-12 19:49:25 +0300
commitc339ed4def5854b8daa0cbf2733c00d54b672078 (patch)
treeca48670611aa8a249a2b6dea9d5cd2b7ab2fecae /applause.c
parentd845d87e2c7fa7afb2ac0ecb239ae1cc0b341937 (diff)
downloadapplause2-c339ed4def5854b8daa0cbf2733c00d54b672078.tar.gz
minor FreeBSD compatibility fixes and documentation
Diffstat (limited to 'applause.c')
-rw-r--r--applause.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/applause.c b/applause.c
index 5853e32..e9ffd66 100644
--- a/applause.c
+++ b/applause.c
@@ -1,5 +1,5 @@
#define _XOPEN_SOURCE
-#define _POSIX_C_SOURCE 199506L
+//#define _POSIX_C_SOURCE 200112
#define _GNU_SOURCE
#include <stdio.h>
@@ -18,6 +18,7 @@
#include <sys/sem.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <pthread.h>