1*b824378bSEnji Cooper /*- 2*b824378bSEnji Cooper * Copyright (c) 2017 Ngie Cooper <ngie@freebsd.org> 3*b824378bSEnji Cooper * All rights reserved. 4*b824378bSEnji Cooper * 5*b824378bSEnji Cooper * Redistribution and use in source and binary forms, with or without 6*b824378bSEnji Cooper * modification, are permitted provided that the following conditions 7*b824378bSEnji Cooper * are met: 8*b824378bSEnji Cooper * 1. Redistributions of source code must retain the above copyright 9*b824378bSEnji Cooper * notice, this list of conditions and the following disclaimer. 10*b824378bSEnji Cooper * 2. Redistributions in binary form must reproduce the above copyright 11*b824378bSEnji Cooper * notice, this list of conditions and the following disclaimer in the 12*b824378bSEnji Cooper * documentation and/or other materials provided with the distribution. 13*b824378bSEnji Cooper * 14*b824378bSEnji Cooper * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15*b824378bSEnji Cooper * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*b824378bSEnji Cooper * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17*b824378bSEnji Cooper * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18*b824378bSEnji Cooper * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*b824378bSEnji Cooper * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20*b824378bSEnji Cooper * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21*b824378bSEnji Cooper * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22*b824378bSEnji Cooper * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23*b824378bSEnji Cooper * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24*b824378bSEnji Cooper * SUCH DAMAGE. 25*b824378bSEnji Cooper * 26*b824378bSEnji Cooper * $FreeBSD$ 27*b824378bSEnji Cooper */ 28*b824378bSEnji Cooper 29*b824378bSEnji Cooper #ifndef __LIBSBUF_TEST_COMMON_H__ 30*b824378bSEnji Cooper #define __LIBSBUF_TEST_COMMON_H__ 31*b824378bSEnji Cooper 32*b824378bSEnji Cooper #include <sys/param.h> 33*b824378bSEnji Cooper 34*b824378bSEnji Cooper #if __FreeBSD_version > 1100064 35*b824378bSEnji Cooper #define HAVE_SBUF_GET_FLAGS 36*b824378bSEnji Cooper #define HAVE_SBUF_CLEAR_FLAGS 37*b824378bSEnji Cooper #define HAVE_SBUF_SET_FLAGS 38*b824378bSEnji Cooper #endif 39*b824378bSEnji Cooper 40*b824378bSEnji Cooper #endif 41