/* Author: Mo McRoberts <mo.mcroberts@bbc.co.uk>
 *
 * Copyright 2015 BBC
 */

/*
 * Copyright 2013 Mo McRoberts.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

#ifndef P_LIBSUPPORT_H_
# define P_LIBSUPPORT_H_               1

# include <stdio.h>
# include <stdlib.h>
# include <stdarg.h>
# include <string.h>
# include <syslog.h>
# include <unistd.h>
# include <pthread.h>
# include <ctype.h>

# include "iniparser.h"

# include "libsupport.h"

#endif /*!P_LIBSUPPORT_H_*/

/* Author: Mo McRoberts <mo.mcroberts@bbc.co.uk>
 *
 * Copyright 2015 BBC
 */

/*
 * Copyright 2013 Mo McRoberts.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

#ifndef P_LIBSUPPORT_H_
# define P_LIBSUPPORT_H_               1

# define _BSD_SOURCE                   1
# define _DARWIN_C_SOURCE              1
# define _FILE_OFFSET_BITS             64

# include <stdio.h>
# include <stdlib.h>
# include <stdarg.h>
# include <string.h>
# include <syslog.h>
# include <unistd.h>
# include <pthread.h>
# include <ctype.h>

# include "iniparser.h"

# include "libsupport.h"

#endif /*!P_LIBSUPPORT_H_*/

--- 
+++ 
@@ -22,10 +22,6 @@
 #ifndef P_LIBSUPPORT_H_
 # define P_LIBSUPPORT_H_               1
 
-# define _BSD_SOURCE                   1
-# define _DARWIN_C_SOURCE              1
-# define _FILE_OFFSET_BITS             64
-
 # include <stdio.h>
 # include <stdlib.h>
 # include <stdarg.h>
Allow config.h or AM_CPPFLAGS to provide libc feature macros
