mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-19 09:20:56 -04:00
17 lines
402 B
Plaintext
17 lines
402 B
Plaintext
$NetBSD: patch-ae,v 1.3 2015/11/26 16:36:00 jperkin Exp $
|
|
|
|
Don't declare own errno.
|
|
|
|
--- src/socket.c.orig 2015-11-09 16:16:59.000000000 +0000
|
|
+++ src/socket.c
|
|
@@ -24,9 +24,6 @@
|
|
#include "h.h"
|
|
#include <signal.h>
|
|
#include "inet.h"
|
|
-#ifndef _WIN32
|
|
-extern int errno; /* ...seems that errno.h doesn't define this everywhere */
|
|
-#endif
|
|
#include <sys/types.h>
|
|
#ifndef _WIN32
|
|
#include <sys/socket.h>
|