aboutsummaryrefslogtreecommitdiffstats
path: root/include/wait.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 05:08:04 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 05:08:04 +0200
commit0a51f9cf8e8c65ff84b1cc8c24bf53e8af46612a (patch)
treecb47f568bce796da0769d5c01f34a8a805fc8fbb /include/wait.h
parentfix more errors (diff)
downloadslibc-0a51f9cf8e8c65ff84b1cc8c24bf53e8af46612a.tar.gz
slibc-0a51f9cf8e8c65ff84b1cc8c24bf53e8af46612a.tar.bz2
slibc-0a51f9cf8e8c65ff84b1cc8c24bf53e8af46612a.tar.xz
add incorrection headers that redirect with a warning
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--include/wait.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/wait.h b/include/wait.h
new file mode 100644
index 0000000..c152171
--- /dev/null
+++ b/include/wait.h
@@ -0,0 +1,20 @@
+/**
+ * slibc — Yet another C library
+ * Copyright © 2015 Mattias Andrée (maandree@member.fsf.org)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+# warning "Redirection incorrect #include of <wait.h> to <sys/wait.h>"
+#include <sys/wait.h>
+