diff options
author | June McEnroe <programble@gmail.com> | 2017-01-08 17:22:10 -0500 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2017-01-08 17:22:10 -0500 |
commit | da45c05d811399df120a0c7738f808813da5dfe3 (patch) | |
tree | 3091f1fc21a1226e84807abf367e6b6833c15bda | |
parent | Implement pbcopy and pbpaste in C (diff) | |
download | src-da45c05d811399df120a0c7738f808813da5dfe3.tar.gz src-da45c05d811399df120a0c7738f808813da5dfe3.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> |