projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d2f9e3
)
Make it compile on FreeBSD
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Tue, 9 Feb 2016 08:18:51 +0000
(09:18 +0100)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Tue, 9 Feb 2016 08:18:51 +0000
(09:18 +0100)
nmrpd.h
patch
|
blob
|
history
diff --git
a/nmrpd.h
b/nmrpd.h
index 7d579b54c8caaf0589eede66cf29b97034586f8d..08b7679c8df85cf38c8d5a3ca53998afaf883dd1 100644
(file)
--- a/
nmrpd.h
+++ b/
nmrpd.h
@@
-34,8
+34,13
@@
#endif
#ifndef NMRPFLASH_WINDOWS
+#ifndef NMRPFLASH_LINUX
+#include <net/if_dl.h>
+#endif
#include <arpa/inet.h>
+#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <net/if.h>
#else
#include <winsock2.h>