forked from Lainports/freebsd-ports
errno must be accessed by a macro from errno.h. This program was partially converted in it's initial commit, but the removal of errno declerations was incomplete.
13 lines
216 B
C
13 lines
216 B
C
--- loadfile.c.orig
|
|
+++ loadfile.c
|
|
@@ -1,9 +1,8 @@
|
|
+#include <errno.h>
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <sys/fcntl.h>
|
|
-
|
|
-extern errno;
|
|
|
|
char *loadfile(path)
|
|
char *path;
|