Changeset 8430


Ignore:
Timestamp:
May 19, 2009, 3:53:34 PM (12 years ago)
Author:
charles
Message:

(trunk libT) silence a compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r8424 r8430  
    1111 */
    1212
     13#ifdef HAVE_MEMMEM
     14 #define _GNU_SOURCE /* glibc's string.h needs this to pick up memmem */
     15#endif
     16
    1317#include <assert.h>
    1418#include <ctype.h> /* isalpha, tolower */
     
    1721#include <stdio.h>
    1822#include <stdlib.h>
    19 #include <string.h> /* strerror, memset */
     23#include <string.h> /* strerror, memset, memmem */
    2024
    2125#include <libgen.h> /* basename */
Note: See TracChangeset for help on using the changeset viewer.