freebsd-ports/sysutils/socket/files/patch-globals.h
Brooks Davis 78d77a7c97 sysutils/socket: include errno.h for errno
errno must be accessed by a macro from errno.h.
2024-09-30 23:13:45 +01:00

11 lines
229 B
C

--- globals.h.orig
+++ globals.h
@@ -48,7 +48,7 @@
void strip_crs A((char *from, char *to, int *sizep)) ;
void background A((void)) ;
-extern int errno ;
+#include <errno.h>
/* global variables */
extern int serverflag ;