1126022Sobrien/*- 2126022Sobrien * Copyright (c) 2004 David E. O'Brien 3126022Sobrien * Copyright (c) 2004 Andrey A. Chernov 4126022Sobrien * All rights reserved. 5126022Sobrien * 6126022Sobrien * Redistribution and use in source and binary forms, with or without 7126022Sobrien * modification, are permitted provided that the following conditions 8126022Sobrien * are met: 9126022Sobrien * 1. Redistributions of source code must retain the above copyright 10126022Sobrien * notice, this list of conditions and the following disclaimer. 11126022Sobrien * 2. Redistributions in binary form must reproduce the above copyright 12126022Sobrien * notice, this list of conditions and the following disclaimer in the 13126022Sobrien * documentation and/or other materials provided with the distribution. 14126022Sobrien * 15126022Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16126022Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17126022Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18126022Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19126022Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20126022Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21126022Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22126022Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23126022Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24126022Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25126022Sobrien * SUCH DAMAGE. 26126022Sobrien * 27126022Sobrien * $FreeBSD$ 28126022Sobrien */ 29126022Sobrien 30126022Sobrien#ifdef __GNUC__ 31126224Sache#warning "Use -I/usr/include/gnu and <regex.h> instead of <gnuregex.h>" 32126022Sobrien#endif 33125978Sache#include <gnu/regex.h> 34