mirror of git://git.sysmocom.de/ofono
Use phonet.h
This commit is contained in:
parent
e34e16b341
commit
073261e507
|
@ -4,6 +4,7 @@ noinst_LTLIBRARIES = libgisi.la
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
libgisi_la_SOURCES = \
|
||||
phonet.h \
|
||||
netlink.h netlink.c \
|
||||
socket.h socket.c \
|
||||
client.h client.c
|
||||
|
|
|
@ -33,12 +33,8 @@
|
|||
#include <sys/socket.h>
|
||||
#include <sys/uio.h>
|
||||
#include <errno.h>
|
||||
#include "phonet.h"
|
||||
#include <glib.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/phonet.h>
|
||||
#ifndef AF_PHONET
|
||||
#define AF_PHONET 35
|
||||
#endif
|
||||
|
||||
#include "socket.h"
|
||||
#include "client.h"
|
||||
|
|
|
@ -36,11 +36,8 @@
|
|||
#ifndef SOL_NETLINK
|
||||
#define SOL_NETLINK 270 /* libc!? */
|
||||
#endif
|
||||
#ifndef AF_PHONET
|
||||
#define AF_PHONET 35
|
||||
#endif
|
||||
#include "phonet.h"
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <linux/phonet.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "netlink.h"
|
||||
|
|
|
@ -31,14 +31,9 @@
|
|||
#include <sys/ioctl.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/phonet.h>
|
||||
#include "phonet.h"
|
||||
#include <glib.h>
|
||||
|
||||
#ifndef AF_PHONET
|
||||
#define AF_PHONET 35
|
||||
#define PF_PHONET AF_PHONET
|
||||
#endif
|
||||
#include "socket.h"
|
||||
|
||||
GIOChannel *phonet_new(uint8_t resource)
|
||||
|
|
Loading…
Reference in New Issue