summaryrefslogtreecommitdiff
path: root/src/krb5_plugin
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-05-19 09:58:09 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-05-23 10:57:44 -0400
commit324fb26ba803a999bedc29e93c46c84f27abf5b7 (patch)
treed504009cdf1377ab791f69706c4e77f755ea65ad /src/krb5_plugin
parent7bdaf2a712d73763e7c3d25f6bb544b18f7028eb (diff)
downloadsssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.gz
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.tar.bz2
sssd-324fb26ba803a999bedc29e93c46c84f27abf5b7.zip
Set _GNU_SOURCE globally
Diffstat (limited to 'src/krb5_plugin')
-rw-r--r--src/krb5_plugin/sssd_krb5_locator_plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/krb5_plugin/sssd_krb5_locator_plugin.c b/src/krb5_plugin/sssd_krb5_locator_plugin.c
index a4dc31cb..d6e90a74 100644
--- a/src/krb5_plugin/sssd_krb5_locator_plugin.c
+++ b/src/krb5_plugin/sssd_krb5_locator_plugin.c
@@ -17,7 +17,9 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#define _GNU_SOURCE
+
+#include "config.h"
+
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>