aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clopts_common.c5
-rw-r--r--cmdarg_err.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/clopts_common.c b/clopts_common.c
index 53cf2363d3..4143013bda 100644
--- a/clopts_common.c
+++ b/clopts_common.c
@@ -26,10 +26,7 @@
#include <stdio.h>
#include <string.h>
-
-#include <epan/proto.h>
-#include <epan/packet.h>
-#include <epan/prefs.h>
+#include <stdlib.h>
#include "clopts_common.h"
#include "cmdarg_err.h"
diff --git a/cmdarg_err.h b/cmdarg_err.h
index 1d71cf6397..c6fd42b62d 100644
--- a/cmdarg_err.h
+++ b/cmdarg_err.h
@@ -25,6 +25,8 @@
#ifndef __CMDARG_ERR_H__
#define __CMDARG_ERR_H__
+#include <glib.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */