summaryrefslogtreecommitdiff
path: root/sbin/photurisd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-17 18:57:04 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-12-17 18:57:04 +0000
commit6cace1bc4c00ae418fd9b135a0b296d70f5b0d79 (patch)
tree618ee70c4d1548fdff83ec5c86b7e270bc9a626b /sbin/photurisd
parent6ea0d267c63dc5c1e2427185a74f348616734b6c (diff)
fix inclusion problems
Diffstat (limited to 'sbin/photurisd')
-rw-r--r--sbin/photurisd/handle_value_request.c3
-rw-r--r--sbin/photurisd/photurisd.c3
-rw-r--r--sbin/photurisd/state.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/sbin/photurisd/handle_value_request.c b/sbin/photurisd/handle_value_request.c
index fdad1bf7f79..18ad6d5e95f 100644
--- a/sbin/photurisd/handle_value_request.c
+++ b/sbin/photurisd/handle_value_request.c
@@ -34,7 +34,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: handle_value_request.c,v 1.1 1998/11/14 23:37:24 deraadt Exp $";
+static char rcsid[] = "$Id: handle_value_request.c,v 1.2 1999/12/17 18:57:03 deraadt Exp $";
#endif
#include <stdio.h>
@@ -42,6 +42,7 @@ static char rcsid[] = "$Id: handle_value_request.c,v 1.1 1998/11/14 23:37:24 der
#include <string.h>
#include <time.h>
#include <sys/time.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#include "config.h"
#include "photuris.h"
diff --git a/sbin/photurisd/photurisd.c b/sbin/photurisd/photurisd.c
index 52db00fb869..1821fd5e528 100644
--- a/sbin/photurisd/photurisd.c
+++ b/sbin/photurisd/photurisd.c
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: photurisd.c,v 1.3 1999/04/10 00:10:17 provos Exp $";
+static char rcsid[] = "$Id: photurisd.c,v 1.4 1999/12/17 18:57:03 deraadt Exp $";
#endif
#define _PHOTURIS_C_
@@ -40,6 +40,7 @@ static char rcsid[] = "$Id: photurisd.c,v 1.3 1999/04/10 00:10:17 provos Exp $";
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#include <signal.h>
#include <errno.h>
diff --git a/sbin/photurisd/state.h b/sbin/photurisd/state.h
index b1cda79627a..01f0e8f1bbb 100644
--- a/sbin/photurisd/state.h
+++ b/sbin/photurisd/state.h
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: state.h,v 1.1 1998/11/14 23:37:29 deraadt Exp $ */
+/* $Id: state.h,v 1.2 1999/12/17 18:57:03 deraadt Exp $ */
/*
* state.h:
* state object
@@ -36,6 +36,7 @@
#ifndef _STATE_H_
#define _STATE_H_
+#include <sys/socket.h>
#include <netinet/in.h>
#include <gmp.h>
#include <time.h>