along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#define _GNU_SOURCE
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int iscsi_discovery_async(struct iscsi_context *iscsi, iscsi_command_cb cb, void *private_data)
{
struct iscsi_pdu *pdu;
- char *str;
+ const char *str;
if (iscsi == NULL) {
printf("trying to send text on NULL context\n");