diff options
author | June McEnroe <june@causal.agency> | 2017-01-08 17:22:10 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2017-01-08 17:22:10 -0500 |
commit | d9425c64bceb69062eee32c3c86c73b42b295757 (patch) | |
tree | 270b58df5dd921e4a6209749487d7fbcc40693df | |
parent | Implement pbcopy and pbpaste in C (diff) | |
download | src-d9425c64bceb69062eee32c3c86c73b42b295757.tar.gz src-d9425c64bceb69062eee32c3c86c73b42b295757.zip |
Add include so that pbcopy.c compiles on FreeBSD
Diffstat (limited to '')
-rwxr-xr-x | .bin/pbcopy.c | 1 |
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> |