summaryrefslogtreecommitdiff
path: root/mysys/my_gethwaddr.c
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-02-14 22:17:38 +0100
committerSergei Golubchik <serg@mariadb.org>2016-02-15 12:51:35 +0100
commit8f5030ea863d3fd4cf6b649111eaf78656069ca1 (patch)
tree14c95b708c695e00d2fb614eb55de4c0e786e0e1 /mysys/my_gethwaddr.c
parent95740bc5c5f82c13f07bea8b10f20b87d8f5f9a9 (diff)
downloadmariadb-git-8f5030ea863d3fd4cf6b649111eaf78656069ca1.tar.gz
fix my_gethwaddr() for solaris
it caused feedback plugin tests to fail
Diffstat (limited to 'mysys/my_gethwaddr.c')
-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 db026c13700..c7aa7f17f1d 100644
--- a/mysys/my_gethwaddr.c
+++ b/mysys/my_gethwaddr.c
@@ -72,7 +72,7 @@ err:
return res;
}
-#elif defined(__linux__) || defined(__sun__)
+#elif defined(__linux__) || defined(__sun)
#include <net/if.h>
#include <sys/ioctl.h>
#include <net/if_arp.h>