[BACK]Return to patch-unix_plugins_UUIDPlugin_sqUnixUUID.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / squeak-vm / patches

File: [cvs.NetBSD.org] / pkgsrc / lang / squeak-vm / patches / patch-unix_plugins_UUIDPlugin_sqUnixUUID.c (download)

Revision 1.1, Sun Mar 15 00:41:34 2015 UTC (6 years, 8 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, HEAD

Do not include <sys/uuid.h> and other uuid.h.

Fix build problem on NetBSD 7.0_BETA (at least).

$NetBSD: patch-unix_plugins_UUIDPlugin_sqUnixUUID.c,v 1.1 2015/03/15 00:41:34 taca Exp $

Do not include <sys/uuid.h> and other uuid.h.

--- unix/plugins/UUIDPlugin/sqUnixUUID.c.orig	2012-09-13 19:25:58.000000000 +0000
+++ unix/plugins/UUIDPlugin/sqUnixUUID.c
@@ -3,7 +3,8 @@
 #if defined(HAVE_SYS_UUID_H)
 # include <sys/types.h>
 # include <sys/uuid.h>
-#endif
+
+#else
 
 #if defined(HAVE_UUID_UUID_H)
 # include <uuid/uuid.h>
@@ -11,6 +12,8 @@
 # include <uuid.h>
 #endif
 
+#endif
+
 #include "sq.h"