summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorBrad Smith <brad@comstyle.com>2022-10-26 20:30:47 -0400
committerDaniel Black <daniel@mariadb.org>2022-10-27 11:58:29 +1100
commitab81aefef6e54ec872622f996ed66626700e4d8e (patch)
treeef025939640105ee179d3be4e1b1c3634e6f1604 /mysys
parentf90d9c347fdac35720f874070797559ede066598 (diff)
downloadmariadb-git-ab81aefef6e54ec872622f996ed66626700e4d8e.tar.gz
Fix building my_gethwaddr() on OpenBSD - part for 10.5 and newer
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_gethwaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_gethwaddr.c b/mysys/my_gethwaddr.c
index 6bba553a549..a2b159cf3b0 100644
--- a/mysys/my_gethwaddr.c
+++ b/mysys/my_gethwaddr.c
@@ -23,7 +23,7 @@
#ifndef MAIN
-#if defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__linux__) || defined(__sun) || defined(_WIN32)
+#if defined(_AIX) || defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__linux__) || defined(__sun) || defined(_WIN32)
static my_bool memcpy_and_test(uchar *to, uchar *from, uint len)
{
uint i, res= 1;