summaryrefslogtreecommitdiffstats
path: root/libexec/talkd/table.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/talkd/table.c')
-rw-r--r--libexec/talkd/table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/talkd/table.c b/libexec/talkd/table.c
index 28e8d8e..001e7d4 100644
--- a/libexec/talkd/table.c
+++ b/libexec/talkd/table.c
@@ -50,6 +50,7 @@ static const char rcsid[] =
#include <sys/param.h>
#include <sys/time.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <protocols/talkd.h>
#include <stdio.h>
#include <stdlib.h>
@@ -198,7 +199,7 @@ new_id(void)
* Delete the invitation with id 'id_num'
*/
int
-delete_invite(int id_num)
+delete_invite(u_int32_t id_num)
{
TABLE_ENTRY *ptr;
OpenPOWER on IntegriCloud