summaryrefslogtreecommitdiff
path: root/x11/login.app/files/patch-ac
blob: e4227131ec00db367f371ced1fd967a31c6d3be0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- 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;