summaryrefslogtreecommitdiff
path: root/src/curlhelper.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2008-10-10 15:33:04 +0000
committerAndreas Baumann <abaumann@yahoo.com>2008-10-10 15:33:04 +0000
commitd5e5630ac95b43bb7f54cc61957fb0bf66757e42 (patch)
tree0e02320b05a93637874d5445517c7bd867b7d047 /src/curlhelper.c
parentb86bace98ed84c0b97a7dafa12fc4c07f3a7e9fe (diff)
downloadnagios-plugin-curl-d5e5630ac95b43bb7f54cc61957fb0bf66757e42.tar.gz
nagios-plugin-curl-d5e5630ac95b43bb7f54cc61957fb0bf66757e42.tar.bz2
small cleanup in header file includes
Diffstat (limited to 'src/curlhelper.c')
-rw-r--r--src/curlhelper.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/curlhelper.c b/src/curlhelper.c
index 57d2235..3c44f2c 100644
--- a/src/curlhelper.c
+++ b/src/curlhelper.c
@@ -16,10 +16,8 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _XOPEN_SOURCE 600
-#include <string.h>
-#include <stdlib.h>
-#include <sys/types.h>
+#include <string.h> /* for memcpy */
+#include <stdlib.h> /* for malloc, free */
#include "cmdline.h"