Fix missing libraries

This commit is contained in:
arizotaz committed 2026-04-26 19:17:06 -04:00
1 parent 5541aeb799
commit 6fbbdedebe
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
# Compiler and flags
CC = gcc
CFLAGS = -Wall -g
LIBS = -lncurses
LIBS = -lncurses -lm
# Source files
NETPONG_SRC = main.c $(wildcard src/*.c) $(wildcard src/network/*.c)
+1
View File
@@ -5,6 +5,7 @@
#include <unistd.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <signal.h>
static Server *g_server = NULL;