* [Edbrowse-dev] [patch] Missing headers
@ 2014-08-06 14:01 Paul Onyschuk
0 siblings, 0 replies; only message in thread
From: Paul Onyschuk @ 2014-08-06 14:01 UTC (permalink / raw)
To: Edbrowse-dev
[-- Attachment #1: Type: text/plain, Size: 192 bytes --]
Implicit function declarations and missing headers:
mkdir() - sys/stat.h
sethostent() and endhostent() - netdb.h
inet_addr() - arpa/inet.h
Patch fixes missing inclusions.
--
Paul Onyschuk
[-- Attachment #2: edbrowse-missing-headers.h --]
[-- Type: application/octet-stream, Size: 711 bytes --]
diff --git a/src/buffers.c b/src/buffers.c
index 16c49b5..143adc3 100644
--- a/src/buffers.c
+++ b/src/buffers.c
@@ -5,6 +5,7 @@
*/
#include "eb.h"
+#include <netdb.h>
#include <signal.h>
/* If this include file is missing, you need the pcre package,
diff --git a/src/main.c b/src/main.c
index ba14fa3..a889316 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,6 +6,7 @@
#include "eb.h"
+#include <sys/stat.h>
#include <signal.h>
#include <pcre.h>
diff --git a/src/stringfile.c b/src/stringfile.c
index ac8c6c2..3e39d01 100644
--- a/src/stringfile.c
+++ b/src/stringfile.c
@@ -6,6 +6,7 @@
#include "eb.h"
#include <sys/stat.h>
+#include <arpa/inet.h>
#ifdef DOSLIKE
#include <dos.h>
#else
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-06 14:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-06 14:01 [Edbrowse-dev] [patch] Missing headers Paul Onyschuk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).