]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/unittest_dns_resolve: #include <arpanameser_compat.h>
authorKefu Chai <kchai@redhat.com>
Tue, 3 Oct 2017 12:46:52 +0000 (20:46 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 3 Oct 2017 15:43:58 +0000 (23:43 +0800)
so it compiles on osx

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/common/dns_resolve.cc

index 2b2ca92854c3be9e2e1164e0e7f793887ac9d6b6..b54825877b8b61fe03d622797a603a3946007cd2 100644 (file)
@@ -11,6 +11,8 @@
  * Foundation.  See file COPYING.
  *
  */
+#include <arpa/nameser_compat.h>
+
 #include "common/dns_resolve.h"
 #include "test/common/dns_messages.h"