diff options
author | Dmitri Pal <dpal@redhat.com> | 2012-12-23 13:03:00 -0500 |
---|---|---|
committer | Ondrej Kos <okos@redhat.com> | 2013-01-24 08:34:37 +0100 |
commit | 57faa64667411a3d8eeeeff62b1e659a94ed29cf (patch) | |
tree | 229c850672e485e62fce866cf1b14fb65a5a4c06 /basicobjects/simplebuffer.c | |
parent | 360710d1a6c0c24d00a915a630884281b0b9e665 (diff) | |
download | ding-libs2-57faa64667411a3d8eeeeff62b1e659a94ed29cf.tar.gz ding-libs2-57faa64667411a3d8eeeeff62b1e659a94ed29cf.tar.xz ding-libs2-57faa64667411a3d8eeeeff62b1e659a94ed29cf.zip |
Fixing headers
Move GNU_SOUCE definition to configure.ac
Change all headers to use config.h.
Move config.h to the top.
Remove errno.h if it is not needed.
Diffstat (limited to 'basicobjects/simplebuffer.c')
-rw-r--r-- | basicobjects/simplebuffer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/basicobjects/simplebuffer.c b/basicobjects/simplebuffer.c index b47d6b6..1e7b3fb 100644 --- a/basicobjects/simplebuffer.c +++ b/basicobjects/simplebuffer.c @@ -17,8 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -#define _GNU_SOURCE +#include "config.h" #include <errno.h> /* for errors */ #include <stdlib.h> /* for free() */ #include <unistd.h> /* for write() */ @@ -26,7 +25,6 @@ #include "simplebuffer.h" #include "trace.h" -#include "config.h" /* End line string */ #define ENDLNSTR "\n" |