From 100570c7f91d3bfe8f90536f96c8154c78641b1d Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Mon, 2 May 2011 16:35:59 -0400 Subject: Add configure checks for strchrnul() and strcasestr() and config.h entries Add __NLINUX__ and __NSOLARIS__ platform checks to configure and config.h entries --- include/duser.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/duser.h') diff --git a/include/duser.h b/include/duser.h index 06cdf84..5a102bb 100644 --- a/include/duser.h +++ b/include/duser.h @@ -22,13 +22,13 @@ #define DUSER_H #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif #include #define REGEX_MAX 255 #define SELF __FUNCTION__ -#ifndef _NLINUX_ +#ifndef __NSOLARIS__ # define FMTLIST "%20s\t%5d%23s\n" #else # define FMTLIST "%20s\t%5d%16s\n" @@ -77,7 +77,7 @@ int user_cmd(const int argc, char* argv[]); int user_choice(char c); int user_add(const char* filename, const char* needle); int user_new_list(const char* fname); -#ifdef _NLINUX_ +#ifdef __NSOLARIS__ char *strcasestr(const char *s, const char *find); char *strchrnul(const char* s, int c); #endif -- cgit