summaryrefslogtreecommitdiffstats
path: root/include/protocols
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1997-05-07 02:27:18 +0000
committereivind <eivind@FreeBSD.org>1997-05-07 02:27:18 +0000
commit379be4bd6976e0978a3a320598eacd98708ee1f2 (patch)
tree7257f42f700a2e7b01b98d56a31940970b0d54ef /include/protocols
parent173bd2da2e16e77a80909cbb1d6a34c497014e8d (diff)
downloadFreeBSD-src-379be4bd6976e0978a3a320598eacd98708ee1f2.zip
FreeBSD-src-379be4bd6976e0978a3a320598eacd98708ee1f2.tar.gz
Make a lot of include-files self-contained. I excluded the patches changing
int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org>
Diffstat (limited to 'include/protocols')
-rw-r--r--include/protocols/dumprestore.h2
-rw-r--r--include/protocols/routed.h5
-rw-r--r--include/protocols/talkd.h3
-rw-r--r--include/protocols/timed.h4
4 files changed, 13 insertions, 1 deletions
diff --git a/include/protocols/dumprestore.h b/include/protocols/dumprestore.h
index 72eddcd..7b31c9e 100644
--- a/include/protocols/dumprestore.h
+++ b/include/protocols/dumprestore.h
@@ -41,6 +41,8 @@
#ifndef _PROTOCOLS_DUMPRESTORE_H_
#define _PROTOCOLS_DUMPRESTORE_H_
+#include <sys/types.h>
+#include <ufs/ufs/dinode.h>
/*
* TP_BSIZE is the size of file blocks on the dump tapes.
* Note that TP_BSIZE must be a multiple of DEV_BSIZE.
diff --git a/include/protocols/routed.h b/include/protocols/routed.h
index 28cf614..e776f21 100644
--- a/include/protocols/routed.h
+++ b/include/protocols/routed.h
@@ -40,7 +40,10 @@
#ifdef __cplusplus
extern "C" {
#endif
-#ident "$Revision: 1.1.1.1 $"
+#ident "$Revision: 1.8 $"
+
+#include <sys/types.h>
+#include <sys/socket.h>
/*
* Routing Information Protocol
diff --git a/include/protocols/talkd.h b/include/protocols/talkd.h
index 34b5da2..1d60441 100644
--- a/include/protocols/talkd.h
+++ b/include/protocols/talkd.h
@@ -36,6 +36,9 @@
#ifndef _PROTOCOLS_TALKD_H_
#define _PROTOCOLS_TALKD_H_
+#include <sys/types.h>
+#include <sys/socket.h>
+
/*
* This describes the protocol used by the talk server and clients.
*
diff --git a/include/protocols/timed.h b/include/protocols/timed.h
index 6c6a05e..c4df1b9 100644
--- a/include/protocols/timed.h
+++ b/include/protocols/timed.h
@@ -36,6 +36,10 @@
#ifndef _PROTOCOLS_TIMED_H_
#define _PROTOCOLS_TIMED_H_
+#include <sys/types.h>
+#include <sys/time.h>
+#include <sys/param.h>
+
/*
* Time Synchronization Protocol
*/
OpenPOWER on IntegriCloud