pkgsrc-wip/l2tpd/patches/patch-ae
Hauke Fath 8a427df03d Fix handling of multi-line string constants for gcc3.
Make gcc3 ignore built-in 'log' function.
Make sure we pick up all -Defines in the Makefile.
2003-10-17 21:06:47 +00:00

21 lines
550 B
Text

$NetBSD: patch-ae,v 1.3 2003/10/17 21:06:48 hfath Exp $
--- control.c.orig 2002-04-10 22:09:33.000000000 +0200
+++ control.c
@@ -16,8 +16,6 @@
#include <errno.h>
#include <string.h>
#include <stdio.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
#include <unistd.h>
#include <stdlib.h>
#include "l2tp.h"
@@ -1661,7 +1659,6 @@ inline int handle_packet (struct buffer
struct call *c)
{
int res;
- struct timeval tv;
if (CTBIT (*((_u16 *) buf->start)))
{
/* We have a control packet */