]> tinc-vpn.org Git - tinc/blobdiff - src/meta.c
Replace bare if statements with AS_IF in configure.ac.
[tinc] / src / meta.c
index a05c7bd24f4239287e27254f6391a12dcbaa661e..260cb005051ff9cf6ab33473fe22d1e5a5308552 100644 (file)
 #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;