forked from osmocom/wireshark
Include config.h first; it defines _FILE_OFFSET_BITS, and if some system
header later causes it to be redefined - as happens on my Solaris 11 virtual machine - we get a redefinition warning, which gets treated as an error. svn path=/trunk/; revision=51344
This commit is contained in:
parent
cfa2dc5f6e
commit
e8f42c6b48
|
@ -23,12 +23,12 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "wmem_core.h"
|
||||
#include "wmem_allocator.h"
|
||||
|
||||
|
|
|
@ -23,12 +23,12 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "wmem_core.h"
|
||||
#include "wmem_allocator.h"
|
||||
|
||||
|
|
|
@ -23,12 +23,12 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "wmem_core.h"
|
||||
#include "wmem_array.h"
|
||||
|
||||
|
|
|
@ -23,11 +23,11 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "wmem_core.h"
|
||||
#include "wmem_strbuf.h"
|
||||
|
||||
|
|
|
@ -23,13 +23,13 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "wmem_core.h"
|
||||
#include "wmem_allocator.h"
|
||||
#include "wmem_strutl.h"
|
||||
|
|
|
@ -23,14 +23,16 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "wmem.h"
|
||||
#include "wmem_allocator.h"
|
||||
#include "wmem_allocator_block.h"
|
||||
#include "wmem_allocator_simple.h"
|
||||
#include "wmem_allocator_strict.h"
|
||||
#include "config.h"
|
||||
|
||||
#define MAX_ALLOC_SIZE (1024*64)
|
||||
#define MAX_SIMULTANEOUS_ALLOCS 1024
|
||||
|
|
|
@ -24,12 +24,13 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "wmem_core.h"
|
||||
#include "wmem_tree.h"
|
||||
#include "wmem_user_cb.h"
|
||||
|
|
Loading…
Reference in New Issue