Updates and fixes to 1991/davidguy
The README.md file has been format and typo checked. The Makefile was updated slightly to disable implicit int warning and also to include certain header files for the syscalls used. This is not strictly necessary but since some systems (like macOS) do have problems with some functions not being declared this was done as it does not have an adverse effect.
This commit is contained in:
1 parent
2772dc8827
commit
478e620eaa
3 files changed
+19
-11
No files matched your search
@@ -40,7 +40,7 @@ include ../../var.mk
|
||||
#
|
||||
CSILENCE= -Wno-bitwise-op-parentheses -Wno-error -Wno-implicit-function-declaration \
|
||||
-Wno-int-to-pointer-cast -Wno-return-type -Wno-sign-compare \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -63,7 +63,7 @@ CDEFINE=
|
||||
|
||||
# Include files that are needed to compile
|
||||
#
|
||||
CINCLUDE=
|
||||
CINCLUDE= -include sys/types.h -include sys/socket.h -include unistd.h
|
||||
|
||||
# Optimization
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user