~ubuntu-branches/ubuntu/saucy/net-tools/saucy

« back to all changes in this revision

Viewing changes to debian/patches/Add_missing_headers.patch

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-06-29 18:39:55 UTC
  • Revision ID: james.westby@ubuntu.com-20100629183955-77uvcr6xzimcv0xg
Tags: 1.60-23ubuntu3
* debian/patches/Add_missing_headers.patch:
  + Add missing headers to fix undefined reference to 'S_ISREG' linker
    error hence fix FTBFS LP: #599795
* fix > is depreceated dpkg-source warning

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: net-tools-1.60/netstat.c
 
2
========================================
 
3
--- net-tools-1.60.orig/netstat.c
 
4
+++ net-tools-1.60/netstat.c
 
5
@@ -85,6 +85,8 @@
 
6
 #include <sys/ioctl.h>
 
7
 #include <net/if.h>
 
8
 #include <dirent.h>
 
9
+#include <sys/stat.h>
 
10
+#include <sys/types.h>
 
11
 
 
12
 #include "net-support.h"
 
13
 #include "pathnames.h"
 
14