diff mbox series

[1/5] lib: include <errno.h> in tst_test.h

Message ID 20190707190016.27296-2-petr.vorel@gmail.com
State Accepted
Delegated to: Petr Vorel
Headers show
Series [1/5] lib: include <errno.h> in tst_test.h | expand

Commit Message

Petr Vorel July 7, 2019, 7 p.m. UTC
tst_test.h is using errno variable, thus it should include <errno.h>.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
 include/tst_test.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Cyril Hrubis July 9, 2019, 10:55 a.m. UTC | #1
Hi!
> tst_test.h is using errno variable, thus it should include <errno.h>.

Acked, this should have been done quite some time ago...
Petr Vorel July 9, 2019, 8:51 p.m. UTC | #2
Hi Cyril,

> Hi!
> > tst_test.h is using errno variable, thus it should include <errno.h>.

> Acked, this should have been done quite some time ago...
Thanks, merged.

Kind regards,
Petr
diff mbox series

Patch

diff --git a/include/tst_test.h b/include/tst_test.h
index 2e8e36352..2e53e68bf 100644
--- a/include/tst_test.h
+++ b/include/tst_test.h
@@ -14,6 +14,7 @@ 
 #include <unistd.h>
 #include <limits.h>
 #include <string.h>
+#include <errno.h>
 
 #include "tst_common.h"
 #include "tst_res_flags.h"