Updated header inclusion

master
Aadhavan Srinivasan 2 years ago
parent 62467b7926
commit 1731d36735

@ -1,9 +1,8 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <stdlib.h>
#include "easysock.h"
void forward_data(int from_fd, int to_fd) { void forward_data(int from_fd, int to_fd) {
int n = 0; int n = 0;
char* buffer = malloc(3000*sizeof(char)); char* buffer = malloc(3000*sizeof(char));

Loading…
Cancel
Save