stdio: Avoid syntax error in C++ mode.
[gnulib.git] / modules / sys_wait
index 7907e53..210b216 100644 (file)
@@ -18,8 +18,8 @@ BUILT_SOURCES += $(SYS_WAIT_H)
 
 # We need the following in order to create <sys/wait.h> when the system
 # has one that is incomplete.
-sys/wait.h: sys_wait.in.h
-       $(AM_V_at)@MKDIR_P@ sys
+sys/wait.h: sys_wait.in.h $(LINK_WARNING_H)
+       $(AM_V_at)$(MKDIR_P) sys
        $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -33,7 +33,7 @@ MOSTLYCLEANFILES += sys/wait.h sys/wait.h-t
 MOSTLYCLEANDIRS += sys
 
 Include:
-#include <sys/wait.h>
+<sys/wait.h>
 
 License:
 LGPLv2+