Fix missing libraries
This commit is contained in:
1 parent
5541aeb799
commit
6fbbdedebe
2 files changed
+2
-1
No files matched your search
@@ -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)
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <unistd.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
static Server *g_server = NULL;
|
||||
|
||||
Reference in new issue
Block a user