mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
sysutils/socket: include errno.h for errno
errno must be accessed by a macro from errno.h.
This commit is contained in:
parent
7f9480c704
commit
78d77a7c97
@ -1,6 +1,6 @@
|
||||
PORTNAME= socket
|
||||
PORTVERSION= 1.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils net
|
||||
MASTER_SITES= https://wolfram.schneider.org/src/ LOCAL/wosch
|
||||
|
||||
|
11
sysutils/socket/files/patch-globals.h
Normal file
11
sysutils/socket/files/patch-globals.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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 ;
|
Loading…
Reference in New Issue
Block a user