MFC: following 4 commits:
[dragonfly.git] / usr.sbin / 802_11 / os_unix.c.patch
blob137117ce82099baf90b541aa459c37084b304a37
1 $DragonFly: src/usr.sbin/802_11/os_unix.c.patch,v 1.1 2007/08/07 11:25:36 sephe Exp $
2 diff -urp hostapd-0.5.8/os_unix.c /usr/src/contrib/hostapd-0.5.8/os_unix.c
3 --- os_unix.c 2007-03-25 10:09:43.000000000 +0800
4 +++ os_unix.c 2007-07-22 12:17:04.000000000 +0800
5 @@ -171,7 +171,7 @@ int os_setenv(const char *name, const ch
7 int os_unsetenv(const char *name)
9 -#if defined(__FreeBSD__) || defined(__NetBSD__)
10 +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
11 unsetenv(name);
12 return 0;
13 #else