Browse Source

Update now that if_ether.h has moved.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
d24042f0bb
2 changed files with 2 additions and 6 deletions
  1. 1
    1
      src/core/vsprintf.c
  2. 1
    5
      src/include/gpxe/in.h

+ 1
- 1
src/core/vsprintf.c View File

1
 #include <stdarg.h>
1
 #include <stdarg.h>
2
-#include "if_ether.h" /* for ETH_ALEN */
2
+#include <gpxe/if_ether.h> /* for ETH_ALEN */
3
 #include "limits.h" /* for CHAR_BIT */
3
 #include "limits.h" /* for CHAR_BIT */
4
 #include "console.h"
4
 #include "console.h"
5
 #include "errno.h"
5
 #include "errno.h"

+ 1
- 5
src/include/gpxe/in.h View File

1
 #ifndef	_IN_H
1
 #ifndef	_IN_H
2
 #define	_IN_H
2
 #define	_IN_H
3
 
3
 
4
-#include "stdint.h"
5
-#include <if_ether.h>
6
-#define IP		ETH_P_IP
7
-#define ARP		ETH_P_ARP
8
-#define	RARP		ETH_P_RARP
4
+#include <stdint.h>
9
 
5
 
10
 #define IP_ICMP		1
6
 #define IP_ICMP		1
11
 #define IP_IGMP		2
7
 #define IP_IGMP		2

Loading…
Cancel
Save