diff options
Diffstat (limited to 'openbsd-compat/daemon.c')
-rw-r--r-- | openbsd-compat/daemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/daemon.c b/openbsd-compat/daemon.c index f704a9048..7d23b2467 100644 --- a/openbsd-compat/daemon.c +++ b/openbsd-compat/daemon.c | |||
@@ -49,6 +49,9 @@ daemon(nochdir, noclose) | |||
49 | case -1: | 49 | case -1: |
50 | return (-1); | 50 | return (-1); |
51 | case 0: | 51 | case 0: |
52 | #ifdef HAVE_CYGWIN | ||
53 | register_9x_service(); | ||
54 | #endif | ||
52 | break; | 55 | break; |
53 | default: | 56 | default: |
54 | #ifdef HAVE_CYGWIN | 57 | #ifdef HAVE_CYGWIN |