Skip to content

Commit

Permalink
cant forget to include unistd.h
Browse files Browse the repository at this point in the history
  • Loading branch information
pde-bakk authored and Alpha1337k committed Dec 16, 2024
1 parent f9cb24d commit c98534d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions srcs/UdpConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <cstring>
#include <iostream>
#include <unistd.h>

int UdpConnection::get_socket_fd() {
const int socket_fd = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0);
Expand Down

0 comments on commit c98534d

Please sign in to comment.