X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=package%2Fnetwork%2Fservices%2Fhostapd%2Fpatches%2F120-daemonize_fix.patch;h=032e2072a35770628f96831ab3b6c4bbebdb7cf2;hb=eba659cbbac0bd31889eb7ca58bf9c86f7dd0feb;hp=07a146d1a0bcc764ca16d1871d4f371d455bed0f;hpb=9c7784e5f3c4e3e1f6d8ede0e20d2993e9c01c08;p=oweals%2Fopenwrt.git diff --git a/package/network/services/hostapd/patches/120-daemonize_fix.patch b/package/network/services/hostapd/patches/120-daemonize_fix.patch index 07a146d1a0..032e2072a3 100644 --- a/package/network/services/hostapd/patches/120-daemonize_fix.patch +++ b/package/network/services/hostapd/patches/120-daemonize_fix.patch @@ -8,7 +8,7 @@ #ifdef ANDROID #include -@@ -155,59 +156,46 @@ int os_gmtime(os_time_t t, struct os_tm +@@ -155,59 +156,46 @@ int os_gmtime(os_time_t t, struct os_tm return 0; } @@ -66,8 +66,8 @@ -#else /* __APPLE__ */ -#define os_daemon daemon -#endif /* __APPLE__ */ -- +- -int os_daemonize(const char *pid_file) -{ -#if defined(__uClinux__) || defined(__sun__)