chore: Add missing headers to sockclient

main
Sean McBride 4 years ago
parent 41bf8ff998
commit f311f55e4d

@ -1,10 +1,12 @@
/* code from http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/socket.html */ /* code from http://www.cs.rpi.edu/~moorthy/Courses/os98/Pgms/socket.html */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <netdb.h> #include <netdb.h>
#include <string.h> #include <string.h>
#include <unistd.h>
void void
error(char *msg) error(char *msg)

Loading…
Cancel
Save