Commit afd90dc
AIX: Fix compilation error due to __errno_location
This is an initial patch in a series of patches to fix errors on AIX.
In AIX we can see errors as below.
/home/sangam/rpm-ci/rpm/misc/fts.c:88:31: warning: implicit declaration of function '__errno_location' [-Wimplicit-function-declaration]
88 | # define __set_errno(val) (*__errno_location ()) = (val)
| ^~~~~~~~~~~~~~~~
/home/sangam/rpm-ci/rpm/misc/fts.c:149:3: note: in expansion of macro '__set_errno'
149 | __set_errno (EINVAL);
| ^~~~~~~~~~~
The proposed patch fixes this issue.
Please review the patch and let me know your comments.1 parent 9db75f1 commit afd90dc
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
0 commit comments