openbsd-ports/security/gnutls/patches/patch-gl_unistd_in_h
ajacoutot b1ecd9b599 Major update to gnutls-3.1.1.
tested in a bulk by landry@, thanks
2012-09-05 07:15:50 +00:00

13 lines
514 B
Plaintext

$OpenBSD: patch-gl_unistd_in_h,v 1.1 2012/09/05 07:15:50 ajacoutot Exp $
--- gl/unistd.in.h.orig Mon Sep 3 15:41:14 2012
+++ gl/unistd.in.h Mon Sep 3 15:41:28 2012
@@ -123,7 +123,7 @@
/* Get getopt(), optarg, optind, opterr, optopt.
But avoid namespace pollution on glibc systems. */
-#if @GNULIB_UNISTD_H_GETOPT@ && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT
+#if @GNULIB_UNISTD_H_GETOPT@ && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT && !defined __OpenBSD__
# include <getopt.h>
#endif