From b29848b99b2b9913e2c0d8760a224cdb98876d4b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 27 Jan 2018 16:45:10 +0100 Subject: hurd: fix warnings * sysdeps/generic/not-cancel.h: Include , , , , . (NOT_CANCEL_H): Add inclusion guard. --- sysdeps/generic/not-cancel.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'sysdeps') diff --git a/sysdeps/generic/not-cancel.h b/sysdeps/generic/not-cancel.h index 631216ee4a..19ad8cbc4c 100644 --- a/sysdeps/generic/not-cancel.h +++ b/sysdeps/generic/not-cancel.h @@ -17,6 +17,15 @@ License along with the GNU C Library; if not, see . */ +#ifndef NOT_CANCEL_H +# define NOT_CANCEL_H + +#include +#include +#include +#include +#include + /* By default we have none. Map the name to the normal functions. */ #define __open_nocancel(...) \ __open (__VA_ARGS__) @@ -44,3 +53,5 @@ __nanosleep (requested_time, remaining) #define __fcntl_nocancel(fd, cmd, ...) \ __fcntl (fd, cmd, __VA_ARGS__) + +#endif /* NOT_CANCEL_H */ -- cgit 1.4.1