Changeset 1761


Ignore:
Timestamp:
03/14/12 15:01:34 (14 months ago)
Author:
salcock
Message:
  • Make sure wandio.h can be found when building libpacketdump
  • link_6.c no longer requires libtrace_int.h if the copy of the arphrd conversion function is made static
Location:
trunk/libpacketdump
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libpacketdump/Makefile.am

    r1737 r1761  
    171171dist_plugin_DATA = $(TXT_PROTOCOLS) 
    172172 
    173 INCLUDES= @ADD_INCLS@ -I../lib  
     173INCLUDES= @ADD_INCLS@ -I../lib -I../libwandio  
    174174 
    175175# NOTE: You CANNOT add @LEXLIBS@ here, as they are statically compiled 
  • trunk/libpacketdump/link_6.c

    r1696 r1761  
    55 
    66#include "config.h" 
    7 #include "libtrace_int.h" 
     7//#include "libtrace_int.h" 
    88#include <sys/types.h> 
    99#include <netinet/in.h> 
     
    1616/* Copied this here because this isn't currently part of our external API - 
    1717 * maybe we need to think about doing that? */ 
    18 libtrace_linktype_t arphrd_type_to_libtrace(unsigned int arphrd) { 
     18static libtrace_linktype_t arphrd_type_to_libtrace(unsigned int arphrd) { 
    1919        switch(arphrd) { 
    2020                case ARPHRD_ETHER: return TRACE_TYPE_ETH; 
Note: See TracChangeset for help on using the changeset viewer.