projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix generation of version_git.h for some versions of BSD make.
[tinc]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index
a05c7bd
..
260cb00
100644
(file)
--- a/
src/meta.c
+++ b/
src/meta.c
@@
-30,6
+30,10
@@
#include "utils.h"
#include "xalloc.h"
+#ifndef MIN
+#define MIN(x, y) (((x)<(y))?(x):(y))
+#endif
+
bool send_meta_sptps(void *handle, uint8_t type, const void *buffer, size_t length) {
connection_t *c = handle;