about summary refs log tree commit diff
path: root/src/portab/waitpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/portab/waitpid.c')
-rw-r--r--src/portab/waitpid.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/portab/waitpid.c b/src/portab/waitpid.c
index 0c169601..5846bd8f 100644
--- a/src/portab/waitpid.c
+++ b/src/portab/waitpid.c
@@ -1,12 +1,16 @@
 /*
  * ngIRCd -- The Next Generation IRC Daemon
- *
+ */
+
+#include "portab.h"
+
+/**
+ * @file
  * waitpid() implementation. Public domain.
  * Written by Steven D. Blackford for the NeXT system.
- *
  */
 
-#include "portab.h"
+#ifndef HAVE_WAITPID
 
 #include "imp.h"
 #include <string.h>
@@ -15,8 +19,6 @@
 
 #include "exp.h"
 
-#ifndef HAVE_WAITPID
-
 GLOBAL int
 waitpid(pid, stat_loc, options)
 int pid, *stat_loc, options;