summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-01-08 17:22:10 -0500
committerJune McEnroe <programble@gmail.com>2017-01-08 17:22:10 -0500
commitda45c05d811399df120a0c7738f808813da5dfe3 (patch)
tree3091f1fc21a1226e84807abf367e6b6833c15bda
parentImplement pbcopy and pbpaste in C (diff)
downloadsrc-da45c05d811399df120a0c7738f808813da5dfe3.tar.gz
src-da45c05d811399df120a0c7738f808813da5dfe3.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>