mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
142e06cf65
A nice looking login interface to your favorite X-server. PR: 16161 Submitted by: Maxim Sobolev <sobomax@altavista.net>
20 lines
406 B
Plaintext
20 lines
406 B
Plaintext
--- switchuser.c.orig Mon Jan 17 16:23:02 2000
|
|
+++ switchuser.c Mon Jan 17 16:38:50 2000
|
|
@@ -25,10 +25,16 @@
|
|
#include <grp.h>
|
|
#include <paths.h>
|
|
#include <sys/types.h>
|
|
+#ifndef __FreeBSD__
|
|
#include <shadow.h>
|
|
+#endif
|
|
#include <proplist.h>
|
|
#include "util.h"
|
|
#include "config.h"
|
|
+
|
|
+#ifdef __FreeBSD__
|
|
+extern char **environ;
|
|
+#endif
|
|
|
|
static char* baseName(const char* name) {
|
|
const char *base;
|