Fix build

This commit is contained in:
numzero 2024-08-11 22:27:39 +03:00
parent dd36c824ca
commit b7ac106623
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
server: main.o func.o
gcc main.o func.o -o server -nostdlib
gcc main.o func.o -o server -nostdlib -static
main.o: main.S
gcc -c main.S

1
main.S
View File

@ -1,5 +1,6 @@
.code64
#include <asm/unistd.h>
#define _LINUX_POSIX_TYPES_H
#include <asm/socket.h>
#define STDIN 0