Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
363f399e
Commit
363f399e
authored
Jan 13, 2017
by
Alessandro Rubini
Committed by
Adam Wujek
Feb 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace: avoid linux headers, add missing inclusion
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
70635a14
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
ptpd_netif.c
userspace/libwr/ptpd_netif.c
+3
-2
lm32-vuart.c
userspace/tools/lm32-vuart.c
+1
-0
wr_phytool.c
userspace/tools/wr_phytool.c
+3
-3
No files found.
userspace/libwr/ptpd_netif.c
View file @
363f399e
...
...
@@ -8,9 +8,10 @@
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <arpa/inet.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <netinet/if_ether.h>
#include <linux/if_packet.h>
#include <linux/if_ether.h>
#include <linux/if_arp.h>
#include <linux/net_tstamp.h>
#include <linux/sockios.h>
#include <sys/time.h>
...
...
userspace/tools/lm32-vuart.c
View file @
363f399e
...
...
@@ -3,6 +3,7 @@
#include <termios.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/select.h>
#include <libwr/shw_io.h>
#include "fpga_io.h"
...
...
userspace/tools/wr_phytool.c
View file @
363f399e
...
...
@@ -20,13 +20,13 @@
#include <sys/mman.h>
#include <signal.h>
#define __EXPORTED_HEADERS__
/* prevent a #warning notice from linux/types.h */
#include <linux/mii.h>
#include <regs/endpoint-regs.h>
#undef PACKED
#include <libwr/ptpd_netif.h>
#define __EXPORTED_HEADERS__
/* prevent a #warning notice from linux/types.h */
#define _LINUX_IF_ETHER_H
/* prevent linux/if_ether.h that redefines ethhdr */
#include <linux/mii.h>
#include <rt_ipc.h>
#include <libwr/switch_hw.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment