Skip to content

Commit 77e9b84

Browse files
committed
devel/snorenotify: Work around inclusion issue.
The minor() major() macros gets not undef'ed in few places.
1 parent e40e290 commit 77e9b84

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
--- src/libsnore/version.h.in.orig 2016-01-11 15:31:52 UTC
2+
+++ src/libsnore/version.h.in
3+
@@ -1,6 +1,9 @@
4+
#ifndef SNORE_VERSION_H
5+
#define SNORE_VERSION_H
6+
7+
+#ifdef __DragonFly__
8+
+#include <sys/types.h> /* to prevent following macros leaking into code */
9+
+#endif
10+
#undef major
11+
#undef minor
12+

0 commit comments

Comments
 (0)