Include errno.h in a few files
errno.h was removed from some common headers. A few files use errno and need to include it. On at least some Linux distributions (Rocky 8), it doesn't get pulled in by other headers.
This commit is contained in:
parent
c068948610
commit
9a72f9bb1b
|
@ -16,6 +16,7 @@
|
|||
|
||||
#include <glib.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
|
||||
#include "wslua.h"
|
||||
#include "init_wslua.h"
|
||||
|
||||
#include <epan/dissectors/packet-frame.h>
|
||||
#include <errno.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <epan/expert.h>
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
/* WSLUA_MODULE Dir Directory Handling Functions */
|
||||
|
||||
#include "wslua.h"
|
||||
#include <errno.h>
|
||||
#include <wsutil/file_util.h>
|
||||
|
||||
WSLUA_CLASS_DEFINE(Dir,FAIL_ON_NULL("Dir")); /* A Directory object, as well as associated functions. */
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#include "config.h"
|
||||
|
||||
#include "wslua_file_common.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <wiretap/file_wrappers.h>
|
||||
|
||||
/* WSLUA_CONTINUE_MODULE File */
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
|
||||
#include "mate.h"
|
||||
#include "mate_util.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <wsutil/file_util.h>
|
||||
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include <glib.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue