Переглянути джерело

Update now that if_ether.h has moved.

tags/v0.9.3
Michael Brown 18 роки тому
джерело
коміт
d24042f0bb
2 змінених файлів з 2 додано та 6 видалено
  1. 1
    1
      src/core/vsprintf.c
  2. 1
    5
      src/include/gpxe/in.h

+ 1
- 1
src/core/vsprintf.c Переглянути файл

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

+ 1
- 5
src/include/gpxe/in.h Переглянути файл

@@ -1,11 +1,7 @@
1 1
 #ifndef	_IN_H
2 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 6
 #define IP_ICMP		1
11 7
 #define IP_IGMP		2

Завантаження…
Відмінити
Зберегти