summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-01-08 17:22:10 -0500
committerJune McEnroe <june@causal.agency>2017-01-08 17:22:10 -0500
commitd9425c64bceb69062eee32c3c86c73b42b295757 (patch)
tree270b58df5dd921e4a6209749487d7fbcc40693df
parentImplement pbcopy and pbpaste in C (diff)
downloadsrc-d9425c64bceb69062eee32c3c86c73b42b295757.tar.gz
src-d9425c64bceb69062eee32c3c86c73b42b295757.zip
Add include so that pbcopy.c compiles on FreeBSD
Diffstat (limited to '')
-rwxr-xr-x.bin/pbcopy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bin/pbcopy.c b/.bin/pbcopy.c
index 37c334ca..c341497a 100755
--- a/.bin/pbcopy.c
+++ b/.bin/pbcopy.c
@@ -5,6 +5,7 @@ exec cc -Wall -Wextra -pedantic -DPBPASTE $@ -o $(dirname $0)/pbpaste $0
 
 #include <arpa/inet.h>
 #include <err.h>
+#include <netinet/in.h>
 #include <stdio.h>
 #include <sys/socket.h>
 #include <sysexits.h>