Fix build warning in c codes
There are some build warning observed when building c codes. It is not critical as they are still warning, but it would be better to avoid these warning if possible. Trivial-fix Change-Id: I5f89fc0defce43984471576025636e172630e733
This commit is contained in:
parent
ecbeae721b
commit
8188824218
@ -15,7 +15,7 @@
|
|||||||
* ---------------------------------------------------------------------------
|
* ---------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/un.h>
|
#include <sys/un.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user