aboutsummaryrefslogtreecommitdiff
path: root/include/duser.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2011-05-02 18:14:53 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2011-05-02 18:14:53 -0400
commit2fb05c7c4516d1ae3f0ad46df50043bbaa17ccb7 (patch)
treee4cd1c7e8587dac35ed805f1daa2bcc9804308a4 /include/duser.h
parentb568ec9b26ae378880409f2413da8d4b62fa4788 (diff)
parent817b384592e730f4f832bfbe92a948970840ee33 (diff)
downloadduser-2fb05c7c4516d1ae3f0ad46df50043bbaa17ccb7.tar.gz
Merge pull request #3 from extrarius/master.
Platform sanity checks
Diffstat (limited to 'include/duser.h')
-rw-r--r--include/duser.h6
1 files changed, 3 insertions, 3 deletions
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 <limits.h>
#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