diff options
Diffstat (limited to 'soelim.c')
-rw-r--r-- | soelim.c | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,4 +1,5 @@ -/*- +/* $Id: soelim.c,v 1.2 2015/05/20 22:22:59 schwarze Exp $ */ +/* * Copyright (c) 2014 Baptiste Daroussin <bapt@FreeBSD.org> * All rights reserved. * @@ -24,20 +25,20 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/param.h> +#include <sys/types.h> -#define _WITH_GETLINE +#include <ctype.h> +#include <err.h> #include <stdio.h> -#include <unistd.h> #include <stdlib.h> -#include <stdbool.h> #include <string.h> +#if HAVE_STRINGLIST #include <stringlist.h> -#include <err.h> -#include <ctype.h> +#else +#include "compat_stringlist.h" +#endif +#include <unistd.h> #define C_OPTION 0x1 |