Fix compilation issues on OS X - mainly #include file changes (Lars Immisch)

neels/jolly/new_handover
Harald Welte 14 years ago
parent ef061951e6
commit 12247c6713
  1. 6
      include/mISDNif.h
  2. 2
      include/openbsc/paging.h
  3. 2
      include/vty/buffer.h
  4. 1
      include/vty/command.h
  5. 2
      src/abis_nm.c
  6. 2
      src/gsm_utils.c
  7. 2
      src/signal.c
  8. 2
      src/telnet_interface.c
  9. 2
      tests/db/db_test.c

@ -19,9 +19,15 @@
#define mISDNIF_H
#include <stdarg.h>
#ifdef linux
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/socket.h>
#else
#include <sys/types.h>
#include <sys/errno.h>
#include <sys/socket.h>
#endif
/*
* ABI Version 32 bit

@ -21,7 +21,7 @@
#ifndef PAGING_H
#define PAGING_H
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include "linuxlist.h"

@ -23,6 +23,8 @@
#ifndef _ZEBRA_BUFFER_H
#define _ZEBRA_BUFFER_H
#include <sys/types.h>
/* Create a new buffer. Memory will be allocated in chunks of the given
size. If the argument is 0, the library will supply a reasonable
default size suitable for buffering socket I/O. */

@ -24,6 +24,7 @@
#define _ZEBRA_COMMAND_H
#include <stdio.h>
#include <sys/types.h>
#include "vector.h"
#include "vty.h"

@ -26,7 +26,7 @@
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <malloc.h>
#include <stdlib.h>
#include <libgen.h>
#include <time.h>
#include <limits.h>

@ -22,7 +22,7 @@
*/
#include <openbsc/gsm_utils.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
/* GSM 03.38 6.2.1 Charachter packing */

@ -19,7 +19,7 @@
*/
#include <openbsc/signal.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>

@ -20,7 +20,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <malloc.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>

@ -22,7 +22,7 @@
#include <stdio.h>
#include <string.h>
#include <malloc.h>
#include <stdlib.h>
#define COMPARE(original, copy) \
if (original->id != copy->id) \

Loading…
Cancel
Save