Re: [PATCH 3/3] tests: add missing include for strerror(3P)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 8/26/19 3:48 AM, Patrick Steinhardt wrote:
> The function strerror(3P) is declared in <string.h>, but it is not
> included in "statdb_dump.c". Include it to fix compile errors.
> 
> Signed-off-by: Patrick Steinhardt <ps@xxxxxx>
> ---
>  tests/statdb_dump.c | 1 +
>  1 file changed, 1 insertion(+)
Committed...

steved.
> 
> diff --git a/tests/statdb_dump.c b/tests/statdb_dump.c
> index 92d63f29..3ac12bff 100644
> --- a/tests/statdb_dump.c
> +++ b/tests/statdb_dump.c
> @@ -23,6 +23,7 @@
>  #include "config.h"
>  #endif
>  
> +#include <string.h>
>  #include <stdio.h>
>  #include <errno.h>
>  #include <arpa/inet.h>
> 



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux