Browse Source

sockread: add missing header

Needed for memset, memcpy, and strerror.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 3 years ago
parent
commit
c61bad460e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      utils/sockread/Makefile
  2. +1
    -1
      utils/sockread/src/main.c

+ 1
- 1
utils/sockread/Makefile View File

@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=sockread PKG_NAME:=sockread
PKG_VERSION:=1.0 PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_LICENSE:=CC0-1.0 PKG_LICENSE:=CC0-1.0
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk


+ 1
- 1
utils/sockread/src/main.c View File

@ -1,4 +1,4 @@
#include <string.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>


Loading…
Cancel
Save